SPECS (AC-branch): php.spec - allow disabling tests

glen glen at pld-linux.org
Thu May 24 11:37:10 CEST 2007


Author: glen                         Date: Thu May 24 09:37:10 2007 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- allow disabling tests

---- Files affected:
SPECS:
   php.spec (1.631.2.35 -> 1.631.2.36) 

---- Diffs:

================================================================
Index: SPECS/php.spec
diff -u SPECS/php.spec:1.631.2.35 SPECS/php.spec:1.631.2.36
--- SPECS/php.spec:1.631.2.35	Wed May  9 12:15:07 2007
+++ SPECS/php.spec	Thu May 24 11:37:05 2007
@@ -47,6 +47,7 @@
 %bcond_without	apache2		# disable building apache 2.x module
 %bcond_without	fcgi		# disable building FCGI SAPI
 %bcond_without	zts		# disable experimental-zts
+%bcond_without	tests	# do not perform "make test"
 %bcond_with	versioning	# build with experimental versioning (to load php4/php5 into same apache)
 
 %define apxs1		/usr/sbin/apxs1
@@ -70,7 +71,11 @@
 %undefine	with_filter
 %endif
 
-%define	_rel 1
+%if %{without tests}
+%define	check	%{nil}
+%endif
+
+%define	_rel 2
 Summary:	PHP: Hypertext Preprocessor
 Summary(fr):	Le langage de script embarque-HTML PHP
 Summary(pl):	Język skryptowy PHP
@@ -2722,6 +2727,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.631.2.36  2007/05/24 09:37:05  glen
+- allow disabling tests
+
 Revision 1.631.2.35  2007/05/09 10:15:07  glen
 - PHP 5.2.2, resolves CVE-2007-1001, MOPB-33, MOPB-26, MOPB-24, MOPB-22,
   MOPB-21, MOPB-03, MOPB-34, MOPB-29, MOPB-14
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php.spec?r1=1.631.2.35&r2=1.631.2.36&f=u



More information about the pld-cvs-commit mailing list