]> git.pld-linux.org Git - packages/perl-Scalar-List-Utils.git/commitdiff
- added tests
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 1 Nov 2003 00:25:59 +0000 (00:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Scalar-List-Utils.spec -> 1.18

perl-Scalar-List-Utils.spec

index bf0e68dc4e0cab82eee943730a291f926926b14a..ba7e328db1f5a05877a74347b6eb6cccfddfb538 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without tests   # don't perform "make test"
+#
 %include       /usr/lib/rpm/macros.perl
 %define                pdir    Scalar
 %define                pnam    List-Utils
@@ -10,8 +14,8 @@ License:      GPL/Artistic
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5: 2b1ccf73ba7f290021587b3a681a9e69
+BuildRequires: perl-devel >= 5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
-BuildRequires: perl-devel >= 5.005
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -31,13 +35,16 @@ zbyt du
 %build
 %{__perl} Makefile.PL -xs \
        INSTALLDIRS=vendor
-%{__make} OPTIMIZE="%{rpmcflags}"
-#%%{__make} test
+%{__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.111345 seconds and 4 git commands to generate.