rpms/php-extras/FC-5 php-extras.spec,1.4,1.5
Dmitry Butskoy (buc)
fedora-extras-commits at redhat.com
Thu Jun 22 11:24:18 UTC 2006
Author: buc
Update of /cvs/extras/rpms/php-extras/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18845
Modified Files:
php-extras.spec
Log Message:
Index: php-extras.spec
===================================================================
RCS file: /cvs/extras/rpms/php-extras/FC-5/php-extras.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- php-extras.spec 16 Jun 2006 16:56:08 -0000 1.4
+++ php-extras.spec 22 Jun 2006 11:24:18 -0000 1.5
@@ -14,17 +14,17 @@
%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 extdir /usr/lib/php/modules
+%define apiver %(( phpize --version 2>/dev/null || echo 'PHP Api Version: be_happy_mock' ) | sed -n '/PHP Api Version/ s/.*:[ ]*//p')
+#%%define apiver 20041225
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 +253,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