]> git.pld-linux.org Git - packages/perl-Crypt-GOST.git/commitdiff
- tests added, cosmetics
authorankry <ankry@pld-linux.org>
Wed, 5 May 2004 11:01:47 +0000 (11:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Crypt-GOST.spec -> 1.9

perl-Crypt-GOST.spec

index b06811506efec8fffd55923e4f6ffffe6bbcff71..3d1ac93b7503b3dd9b7deacdcbfafb07f6c3ebd7 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    GOST
@@ -32,8 +36,10 @@ Radzieckim. Wi
 %build
 %{__perl} Makefile.PL \
        INSTALLDIRS=vendor
-%{__make} OPTIMIZE="%{rpmcflags}"
-%{__make} test
+%{__make} \
+       OPTIMIZE="%{rpmcflags}"
+
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.734553 seconds and 4 git commands to generate.