]> git.pld-linux.org Git - packages/perl-Math-BigInteger.git/commitdiff
- test added, but fails: need investigation
authorankry <ankry@pld-linux.org>
Sat, 24 Apr 2004 16:13:10 +0000 (16:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Math-BigInteger.spec -> 1.31

perl-Math-BigInteger.spec

index cb6188766d14fccf156cf2ee0666e5c9d852a850..81c357d93c2a301828e9e531593f23de83b2f3d7 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+#
 %include       /usr/lib/rpm/macros.perl
 %define        pdir    Math
 %define        pnam    BigInteger
@@ -28,12 +32,16 @@ Younga.
 %build
 %{__perl} Makefile.PL \
        INSTALLDIRS=vendor
-%{__make} OPTIMIZE="%{rpmcflags}"
+%{__make} \
+       OPTIMIZE="%{rpmcflags}"
+
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.042659 seconds and 4 git commands to generate.