rpms/php-eaccelerator/FC-4 php-eaccelerator.spec,1.8,1.9

Matthias Saou (thias) fedora-extras-commits at redhat.com
Wed May 10 10:03:22 UTC 2006


Author: thias

Update of /cvs/extras/rpms/php-eaccelerator/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26603

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/FC-4/php-eaccelerator.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- php-eaccelerator.spec	10 May 2006 09:41:59 -0000	1.8
+++ php-eaccelerator.spec	10 May 2006 10:03:21 -0000	1.9
@@ -3,6 +3,10 @@
 
 %define module_version 0.9.4
 
+# 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}
@@ -31,7 +35,11 @@
 
 %build
 phpize
-%configure
+%configure \
+%ifarch ppc
+    --with-eaccelerator-userid="%{userid}"
+%endif
+
 %{__make} %{?_smp_mflags}
 
 
@@ -87,6 +95,7 @@
 - Re-enable ipc based semaphores on x86_64.
 - Don't switch to using PHP_API_VERSION requirement, since FC-4 PHP 5.0.1
   packages don't provide it unfortunately.
+- Pass userid 48 to configure script on PPC for sysvipc semaphores.
 
 * Mon Oct 17 2005 Matthias Saou <http://freshrpms.net/> 4.x.x_0.9.3-4
 - Re-add %%{?_smp_mflags}, as this was a false alarm.




More information about the fedora-extras-commits mailing list