packages: adodb/adodb.spec - added pear bcond

mmazur mmazur at pld-linux.org
Thu May 14 15:34:02 CEST 2009


Author: mmazur                       Date: Thu May 14 13:34:02 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added pear bcond

---- Files affected:
packages/adodb:
   adodb.spec (1.50 -> 1.51) 

---- Diffs:

================================================================
Index: packages/adodb/adodb.spec
diff -u packages/adodb/adodb.spec:1.50 packages/adodb/adodb.spec:1.51
--- packages/adodb/adodb.spec:1.50	Thu Dec 27 22:22:37 2007
+++ packages/adodb/adodb.spec	Thu May 14 15:33:55 2009
@@ -1,4 +1,7 @@
 # $Revision$, $Date$
+#
+%bcond_without	pear	# Don't build pear-dependent packages.
+
 %include	/usr/lib/rpm/macros.php
 %define ver	%(echo %{version} | tr -d .)
 %define	_postrel	a
@@ -150,6 +153,7 @@
 %{_appdir}/adodb-xmlschema03.inc.php
 %{_appdir}/adodb-memcache.lib.inc.php
 
+%if %{with pear}
 %files tests
 %defattr(644,root,root,755)
 %{_appdir}/tests
@@ -165,6 +169,7 @@
 %defattr(644,root,root,755)
 %doc pear/README
 %{php_pear_dir}/Auth/Container/ADOdb.php
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -172,6 +177,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.51  2009/05/14 13:33:55  mmazur
+- added pear bcond
+
 Revision 1.50  2007/12/27 21:22:37  twittner
 - up to 4.96a, rel. 0.1 (not tested)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/adodb/adodb.spec?r1=1.50&r2=1.51&f=u



More information about the pld-cvs-commit mailing list