rpms/php-eaccelerator/devel php-eaccelerator.spec,1.9,1.10

Matthias Saou (thias) fedora-extras-commits at redhat.com
Tue Mar 14 12:08:27 UTC 2006


Author: thias

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

Modified Files:
	php-eaccelerator.spec 
Log Message:
Pass userid 48 to configure script on PPC for sysvipc semaphores.



Index: php-eaccelerator.spec
===================================================================
RCS file: /cvs/extras/rpms/php-eaccelerator/devel/php-eaccelerator.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- php-eaccelerator.spec	14 Mar 2006 11:05:06 -0000	1.9
+++ php-eaccelerator.spec	14 Mar 2006 12:08:27 -0000	1.10
@@ -4,10 +4,14 @@
 %define module_version 0.9.3
 %define prever         svn200603090012
 
+# This is the apache userid, only used for sysvipc semaphores which is the
+# default on ppc since spinlock is not detected
+%define userid         48
+
 Summary: PHP accelerator, optimizer, encoder and dynamic content cacher
 Name: php-eaccelerator
 Version: %{php_version}_%{module_version}
-Release: 0.2%{?dist}
+Release: 0.3%{?dist}
 License: GPL
 Group: Development/Languages
 URL: http://eaccelerator.sourceforge.net/
@@ -34,7 +38,10 @@
 
 %build
 phpize
-%configure
+%configure \
+%ifarch ppc
+    --with-eaccelerator-userid="%{userid}"
+%endif
 # Set fcntl based semaphores to avoid ipc based locking issues on x86_64
 %ifarch x86_64
 %{__perl} -pi -e 's|.*(MM_SEM_[A-Z]+).*|/* #undef $1 */|g' config.h
@@ -90,6 +97,9 @@
 
 
 %changelog
+* Tue Mar 14 2006 Matthias Saou <http://freshrpms.net/> 5.1.x_0.9.3-0.3
+- Pass userid 48 to configure script on PPC for sysvipc semaphores.
+
 * Tue Mar 14 2006 Matthias Saou <http://freshrpms.net/> 5.1.x_0.9.3-0.2
 - Update to latest eaccelerator-svn200603090012 snapshot.
 




More information about the scm-commits mailing list