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

perl-DBD-CSV.spec

index 86f9f2fe26ceb1bda1c342437318e5bf1f452091..5239d7442610ac21dc39626b707c6e7bf6aa26eb 100644 (file)
@@ -1,6 +1,7 @@
 #
 # 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    DBD
 %define                pnam    CSV
@@ -15,7 +16,7 @@ Source0:      http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version
 # Source0-md5: 9a98138aee1c94747d86494ceb343c2b
 BuildRequires: perl-devel >= 5.6
 BuildRequires: rpm-perlprov >= 4.1-13
-%if %{?_without_tests:0}%{!?_without_tests:1}
+%if %{with tests}
 BuildRequires: perl-DBI
 BuildRequires: perl-SQL-Statement
 BuildRequires: perl-Text-CSV_XS
@@ -45,7 +46,7 @@ najcz
 %{__perl} Makefile.PL \
        INSTALLDIRS=vendor
 %{__make}
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.079134 seconds and 4 git commands to generate.