rpms/php-eaccelerator/devel php-eaccelerator.spec,1.13,1.14
Matthias Saou (thias)
fedora-extras-commits at redhat.com
Fri May 5 09:50:00 UTC 2006
Author: thias
Update of /cvs/extras/rpms/php-eaccelerator/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2746
Modified Files:
php-eaccelerator.spec
Log Message:
Fix api version detection macro when php or gcc aren't installed.
Index: php-eaccelerator.spec
===================================================================
RCS file: /cvs/extras/rpms/php-eaccelerator/devel/php-eaccelerator.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- php-eaccelerator.spec 5 May 2006 09:41:39 -0000 1.13
+++ php-eaccelerator.spec 5 May 2006 09:50:00 -0000 1.14
@@ -1,6 +1,7 @@
%define php_extdir %(php-config --extension-dir 2>/dev/null || echo %{_libdir}/php4)
-%define php_apiver %(cd %{_tmppath}; echo PHP_API_VERSION | %{__cc} -E --include=php.h `php-config --includes` - | tail -1)
-%{!?php_version:%define php_version %(php-config --version 2>/dev/null || echo 5.1.2)}
+%define php_includes %(php-config --includes 2>/dev/null || echo)
+%define php_apiver %(cd %{_tmppath}; echo PHP_API_VERSION | %{__cc} -E --include=php.h %{php_includes} - 2>/dev/null | tail -1)
+%{!?php_version:%define php_version %(php-config --version 2>/dev/null || echo 5.1.3)}
%define module_version 0.9.5
%define prever beta2
More information about the scm-commits
mailing list