]> git.pld-linux.org Git - packages/perl-Devel-Leak.git/commitdiff
- tests added
authorankry <ankry@pld-linux.org>
Sun, 25 Apr 2004 10:46:47 +0000 (10:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Devel-Leak.spec -> 1.32

perl-Devel-Leak.spec

index 1c6a3b9d25aa4bfd5525d841b29960908e83cf32..b7d533771e3457b8062107bda07b19b45928605c 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+#
 %include       /usr/lib/rpm/macros.perl
 %define        pdir    Devel
 %define        pnam    Leak
@@ -29,12 +33,16 @@ obiekt
 %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.132691 seconds and 4 git commands to generate.