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

perl-CGI-Session.spec

index 5a58b3bf738e119588acd2929be76577c306705c..266a0952b5475bd157e29ed4167a538c15fb71ec 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    CGI
@@ -17,7 +17,7 @@ Source0:      http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version
 # Source0-md5: fe9e46496c7c711c54ca13209ded500b
 BuildRequires: perl-devel >= 5.6
 BuildRequires: rpm-perlprov >= 4.1-13
-%if 0%{!?_without_tests:1}
+%if %{with tests}
 BuildRequires: perl-Digest-MD5
 BuildRequires: perl-DB_File
 BuildRequires: perl-FreezeThaw
@@ -42,7 +42,7 @@ zarz
        INSTALLDIRS=vendor
 %{__make}
 
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.067048 seconds and 4 git commands to generate.