]> git.pld-linux.org Git - packages/perl-FCGI.git/commitdiff
- tests added
authorankry <ankry@pld-linux.org>
Sat, 24 Apr 2004 23:49:53 +0000 (23:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-FCGI.spec -> 1.36

perl-FCGI.spec

index a15bfc6da5835331733a992e8ae1c72cb4ef7c0e..7e1ec3b56ec981448eb30cc8af0855c9d561c702 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+#
 %include       /usr/lib/rpm/macros.perl
 Summary:       FCGI - Fast CGI module
 Summary(pl):   FCGI - szybki modu³ CGI
@@ -35,12 +39,16 @@ cp -f %{SOURCE1} acinclude.m4
 %configure
 %{__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.106666 seconds and 4 git commands to generate.