]> git.pld-linux.org Git - packages/perl-ExtUtils-TBone.git/blobdiff - perl-ExtUtils-TBone.spec
- added tests
[packages/perl-ExtUtils-TBone.git] / perl-ExtUtils-TBone.spec
index 42824f040a593cca7c680ec097882445f499d287..7779a7fe1c79309c8d53aea87e23cc394277ceb8 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+#
 %include       /usr/lib/rpm/macros.perl
 %define        pdir    ExtUtils
 %define        pnam    TBone
@@ -38,10 +42,13 @@ by
        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.140605 seconds and 4 git commands to generate.