]> git.pld-linux.org Git - packages/perl-CGI-FastTemplate.git/blobdiff - perl-CGI-FastTemplate.spec
- tests added
[packages/perl-CGI-FastTemplate.git] / 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.04895 seconds and 4 git commands to generate.