]> git.pld-linux.org Git - packages/perl-Class-WhiteHole.git/commitdiff
- bconds added
authorankry <ankry@pld-linux.org>
Thu, 22 Apr 2004 20:42:10 +0000 (20:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Class-WhiteHole.spec -> 1.14

perl-Class-WhiteHole.spec

index d02a523b2755f48154c0c560c23a1af41a6b9a12..eea5fbbecfaf0b570f171087e51f2818bc6747a7 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+#
 %include       /usr/lib/rpm/macros.perl
 %define        pdir    Class
 %define        pnam    WhiteHole
@@ -36,7 +40,6 @@ Czasami chcesz unikn
 odziedzicz po Class::WhiteHole.  Ka¿de wywo³anie nieistniej±cej metody
 spowoduje zwyczajn± informacjê o b³êdzie perla.
 
-
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
 
@@ -44,7 +47,8 @@ spowoduje zwyczajn
 %{__perl} Makefile.PL \
        INSTALLDIRS=vendor
 %{__make}
-#%%{__make} test
+
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.084684 seconds and 4 git commands to generate.