]> git.pld-linux.org Git - packages/perl-Email-Filter.git/commitdiff
- new bconds
authorankry <ankry@pld-linux.org>
Tue, 20 Apr 2004 10:19:49 +0000 (10:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Email-Filter.spec -> 1.6

perl-Email-Filter.spec

index 8f628cd13a9614c648b497b56623049283e5a14b..dbe092d908b3c54de706c58b49563ab853ab9283 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    Email
@@ -16,7 +16,7 @@ Source0:      http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version
 # Source0-md5: 857a522c2c43991f59c65de9c8c05d40
 BuildRequires: perl-devel >= 5.6
 BuildRequires: rpm-perlprov >= 4.1-13
-%if %{!?_without_tests:1}0
+%if %{with tests}
 BuildRequires: perl-Class-Trigger
 BuildRequires: perl-Email-LocalDelivery >= 0.04
 BuildRequires: perl-Email-Simple >= 1.1
@@ -45,7 +45,7 @@ opisuj
        INSTALLDIRS=vendor
 %{__make}
 
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.075027 seconds and 4 git commands to generate.