]> git.pld-linux.org Git - packages/perl-Crypt-RC6.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-RC6.spec -> 1.9

perl-Crypt-RC6.spec

index b6c242c0cfd99fba8011b0e2fe9a1ad4d69ec000..e320799a4768e2df93402b70ebbf4fe968b28ba6 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    RC6
@@ -35,8 +39,10 @@ Wykonywane jest dwadzie
 %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.109696 seconds and 4 git commands to generate.