]> git.pld-linux.org Git - packages/perl-POE-Component-SMTP.git/commitdiff
- new bconds
authorankry <ankry@pld-linux.org>
Tue, 27 Apr 2004 15:26:24 +0000 (15:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-POE-Component-SMTP.spec -> 1.8

perl-POE-Component-SMTP.spec

index e61d1e02ead172942fcbc765a8ff990ef0705444..2773bb6dba090df369ba4d4c9f532a5badf9ab69 100644 (file)
@@ -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
This page took 0.209768 seconds and 4 git commands to generate.