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

perl-Crypt-IDEA.spec

index b8c837c37b0b381d07935581fc53a01a46cd22b9..aabac303e12ee7ae045e2f51647d3fe23734b318 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    IDEA
@@ -32,11 +36,15 @@ szyfrowania blokowego IDEA.
 %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.024193 seconds and 4 git commands to generate.