]> git.pld-linux.org Git - packages/perl-Cache-Cache.git/commitdiff
- bcond fixes/porting
authorankry <ankry@pld-linux.org>
Tue, 20 Apr 2004 09:46:28 +0000 (09:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Cache-Cache.spec -> 1.22

perl-Cache-Cache.spec

index 8f0d0f89ad00fffdd2761dc19fce768a9aca3c9d..137acbdbc9e012725b93b8983ebe31228d854bf3 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    Cache
@@ -16,7 +16,7 @@ Source0:      http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version
 # Source0-md5: 9dfff47f2317a59a15546a972b2a67ba
 URL:           http://perl-cache.sourceforge.net/
 BuildRequires: perl-devel >= 5.6.1
-%if %{?_without_tests:0}%{!?_without_tests:1}
+%if %{with tests}
 BuildRequires: perl-Digest-SHA1 >= 2.01
 BuildRequires: perl-Error >= 0.15
 BuildRequires: perl(File::Spec) >= 0.82
@@ -55,7 +55,7 @@ plik
        INSTALLDIRS=vendor
 %{__make}
 
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.076909 seconds and 4 git commands to generate.