From 5fb1da82d28a648c05e41f9ecdee025598d9e1bf Mon Sep 17 00:00:00 2001 From: ankry Date: Tue, 27 Apr 2004 15:26:24 +0000 Subject: [PATCH] - new bconds Changed files: perl-POE-Component-SMTP.spec -> 1.8 --- perl-POE-Component-SMTP.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/perl-POE-Component-SMTP.spec b/perl-POE-Component-SMTP.spec index e61d1e0..2773bb6 100644 --- a/perl-POE-Component-SMTP.spec +++ b/perl-POE-Component-SMTP.spec @@ -1,6 +1,6 @@ # # Conditional build: -# _without_tests - do not perform "make test" +%bcond_without tests # do not perform "make test" # %include /usr/lib/rpm/macros.perl %define pdir POE @@ -17,7 +17,7 @@ Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version # Source0-md5: 75999b462eb9a3726c521f2547b96b53 BuildRequires: perl-devel >= 5.6 BuildRequires: rpm-perlprov >= 4.1-13 -%if %{!?_without_tests:1}0 +%if %{?with_tests} BuildRequires: perl-POE BuildRequires: perl-POE-Session-MultiDispatch BuildRequires: perl-Test-Simple @@ -43,7 +43,7 @@ POE::Filter::Line. INSTALLDIRS=vendor %{__make} -%{!?_without_tests:%{__make} test} +%{?with_tests:%{__make} test} %install rm -rf $RPM_BUILD_ROOT -- 2.44.0