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

perl-CGI-FastTemplate.spec

index 32c8143e761fd6226546554b836b4b08aa5b58e0..a0ad2e3ef35afc6246e1a095bf9faec41ba1c8ff 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+#
 %include       /usr/lib/rpm/macros.perl
 %define        pdir    CGI
 %define        pnam    FastTemplate
@@ -32,10 +36,13 @@ zast
        INSTALLDIRS=vendor
 %{__make}
 
+%{?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.028551 seconds and 4 git commands to generate.