]> git.pld-linux.org Git - packages/perl-DBIx-DataSource.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-DBIx-DataSource.spec -> 1.13

perl-DBIx-DataSource.spec

index 0f671cb24bd007da34065d8c77198e2d67cebf0d..1740fb13004da6e73cb4004f655be5230e6a2800 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without tests   # Do not perform "make test"
+#
 %include       /usr/lib/rpm/macros.perl
 %define        pdir    DBIx
 %define        pnam    DataSource
 %include       /usr/lib/rpm/macros.perl
 %define        pdir    DBIx
 %define        pnam    DataSource
@@ -33,7 +37,8 @@ tworzenia i usuwania baz danych, niezale
 %{__perl} Makefile.PL \
        INSTALLDIRS=vendor
 %{__make}
 %{__perl} Makefile.PL \
        INSTALLDIRS=vendor
 %{__make}
-%{!?_without_tests:%{__make} test}
+
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.046071 seconds and 4 git commands to generate.