rpms/php-extras/devel php-extras.spec,1.6,1.7

Dmitry Butskoy (buc) fedora-extras-commits at redhat.com
Thu Jun 22 11:50:08 UTC 2006


Author: buc

Update of /cvs/extras/rpms/php-extras/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19291

Modified Files:
	php-extras.spec 
Log Message:



Index: php-extras.spec
===================================================================
RCS file: /cvs/extras/rpms/php-extras/devel/php-extras.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- php-extras.spec	16 Jun 2006 16:35:38 -0000	1.6
+++ php-extras.spec	22 Jun 2006 11:50:07 -0000	1.7
@@ -14,17 +14,15 @@
 %define list	%{?_with_dbase:dbase} %{?_with_readline:readline} %{?_with_recode:recode} %{?_with_mcrypt:mcrypt} %{?_with_mhash:mhash} %{?_with_tidy:tidy} %{?_with_mssql:mssql}
 
 
-#%define extdir	%(php-config --extension-dir)
-%define extdir	/usr/lib/php/modules
-#%define apiver	%(phpize --version | sed -n '/PHP Api Version/ s/.*:[ 	]*//p')
-%define apiver	20041225
+%define extdir	%(php-config --extension-dir 2>/dev/null || echo be_happy_mock)
+%define apiver	%(( phpize --version 2>/dev/null || echo 'PHP Api Version: be_happy_mock' ) | sed -n '/PHP Api Version/ s/.*:[ 	]*//p')
 
 
 Name: php-extras
 Summary: Additional PHP modules from the standard PHP distribution
 #Version: %(php-config --version)
 Version: 5.1.4
-Release: 1%{?dist}
+Release: 2%{?dist}
 Group: Development/Languages
 License: The PHP License
 URL: http://www.php.net/
@@ -253,6 +251,9 @@
 
 
 %changelog
+* Thu Jun 22 2006 Dmitry Butskoy <Dmitry at Butskoy.name> - 5.1.4-2
+- auto-detect extdir and apiver again (needed for x86_64)
+
 * Fri Jun 16 2006 Dmitry Butskoy <Dmitry at Butskoy.name> - 5.1.4-1
 - update to upstream php 5.1.4
 - an easier way to auto-detect php-api version




More information about the fedora-extras-commits mailing list