]> git.pld-linux.org Git - packages/perl-Crypt-Blowfish.git/commitdiff
- added tests
authorankry <ankry@pld-linux.org>
Sun, 25 Apr 2004 21:45:39 +0000 (21:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Crypt-Blowfish.spec -> 1.18

perl-Crypt-Blowfish.spec

index c944af614cf6b0baa382cc7ce80c2b8bbe579256..7e5a22a38ba5fe495c976b415dae4ac5999389ba 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+#
 %include       /usr/lib/rpm/macros.perl
 %define                pdir    Crypt
 %define                pnam    Blowfish
@@ -28,12 +32,16 @@ kryptograficznego Blowfish.
 %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.077601 seconds and 4 git commands to generate.