rpms/php-eaccelerator/devel php-eaccelerator.spec,1.15,1.16
Matthias Saou (thias)
fedora-extras-commits at redhat.com
Fri May 5 13:51:45 UTC 2006
Author: thias
Update of /cvs/extras/rpms/php-eaccelerator/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13608
Modified Files:
php-eaccelerator.spec
Log Message:
Try to get the API version check working.
Index: php-eaccelerator.spec
===================================================================
RCS file: /cvs/extras/rpms/php-eaccelerator/devel/php-eaccelerator.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- php-eaccelerator.spec 5 May 2006 11:41:33 -0000 1.15
+++ php-eaccelerator.spec 5 May 2006 13:51:45 -0000 1.16
@@ -7,7 +7,7 @@
%define prever beta2
%define php_extdir %(php-config --extension-dir 2>/dev/null || echo %{default_extdir})
-%define php_apiver %(php -i 2>/dev/null | sed -n 's/^PHP API => //p' 2>/dev/null || echo %{default_apiver})
+%define php_apiver %((echo %{default_apiver}; php -i 2>/dev/null) | sed -n 's/^PHP API => //p' | tail -1)
%{!?php_version:%define php_version %(php-config --version 2>/dev/null || echo %{default_version})}
# This is the apache userid, only used for sysvipc semaphores which is the
@@ -26,7 +26,6 @@
Patch1: eaccelerator-0.9.5-beta2-64bit_cast_warning.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires: php-api = %{php_apiver}
-#Requires: php = %{php_version}
Provides: php-zend_extension
Conflicts: php-mmcache
BuildRequires: php, php-devel
More information about the fedora-extras-commits
mailing list