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

perl-File-Cat.spec

index 0d145c086748d415379b926f28f62c01b021fb30..5e8c96e2f5dda98628c34ae4d48923fe84216b42 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+#
 %include       /usr/lib/rpm/macros.perl
 %define        pdir    File
 %define        pnam    Cat
@@ -38,10 +42,13 @@ jeden taki!
        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.08116 seconds and 4 git commands to generate.