SPECS: perl-Data-Dump.spec - tests bcond

qboosh qboosh at pld-linux.org
Sun Mar 23 20:50:24 CET 2008


Author: qboosh                       Date: Sun Mar 23 19:50:24 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- tests bcond

---- Files affected:
SPECS:
   perl-Data-Dump.spec (1.26 -> 1.27) 

---- Diffs:

================================================================
Index: SPECS/perl-Data-Dump.spec
diff -u SPECS/perl-Data-Dump.spec:1.26 SPECS/perl-Data-Dump.spec:1.27
--- SPECS/perl-Data-Dump.spec:1.26	Thu Mar  6 02:21:08 2008
+++ SPECS/perl-Data-Dump.spec	Sun Mar 23 20:50:19 2008
@@ -1,4 +1,8 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
 %include	/usr/lib/rpm/macros.perl
 %define		pdir	Data
 %define		pnam	Dump
@@ -41,7 +45,8 @@
 %{__perl} Makefile.PL \
 	INSTALLDIRS=vendor
 %{__make}
-%{__make} test
+
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -64,6 +69,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.27  2008-03-23 19:50:19  qboosh
+- tests bcond
+
 Revision 1.26  2008-03-06 01:21:08  wolvverine
 - rel.2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/perl-Data-Dump.spec?r1=1.26&r2=1.27&f=u



More information about the pld-cvs-commit mailing list