SPECS: pcre.spec - perform make check (+bcond_without tests)

qboosh qboosh at pld-linux.org
Tue Jun 19 22:07:22 CEST 2007


Author: qboosh                       Date: Tue Jun 19 20:07:22 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- perform make check (+bcond_without tests)

---- Files affected:
SPECS:
   pcre.spec (1.81 -> 1.82) 

---- Diffs:

================================================================
Index: SPECS/pcre.spec
diff -u SPECS/pcre.spec:1.81 SPECS/pcre.spec:1.82
--- SPECS/pcre.spec:1.81	Tue Jun 19 21:07:19 2007
+++ SPECS/pcre.spec	Tue Jun 19 22:07:17 2007
@@ -1,7 +1,8 @@
 # $Revision$, $Date$
 #
 # Conditional build:
-%bcond_without	static_libs # don't build static libraries
+%bcond_without	static_libs	# don't build static libraries
+%bcond_without	tests		# don't perform "make check"
 #
 Summary:	Perl-Compatible Regular Expression library
 Summary(pl.UTF-8):	Biblioteka perlowych wyrażeń regularnych
@@ -187,6 +188,10 @@
 
 %{__make}
 
+%if %{with tests}
+%{__make} check
+%endif
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{/%{_lib},%{_examplesdir}/%{name}-%{version}}
@@ -284,6 +289,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.82  2007/06/19 20:07:17  qboosh
+- perform make check (+bcond_without tests)
+
 Revision 1.81  2007/06/19 19:07:19  twittner
 - rel. 1 (tested a bit)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/pcre.spec?r1=1.81&r2=1.82&f=u



More information about the pld-cvs-commit mailing list