rpms/php-mmcache/FC-3 php-mmcache.spec,1.4,1.5

Matthias Saou (thias) fedora-extras-commits at redhat.com
Mon Oct 17 13:25:24 UTC 2005


Author: thias

Update of /cvs/extras/rpms/php-mmcache/FC-3
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10177/FC-3

Modified Files:
	php-mmcache.spec 
Log Message:
Minor fixes and mandatory FC-3 rebuild (4.3.10 to 4.3.11 PHP update).



Index: php-mmcache.spec
===================================================================
RCS file: /cvs/extras/rpms/php-mmcache/FC-3/php-mmcache.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- php-mmcache.spec	13 Jan 2005 18:19:10 -0000	1.4
+++ php-mmcache.spec	17 Oct 2005 13:25:22 -0000	1.5
@@ -1,12 +1,12 @@
-%define php_extdir %(php-config --extension-dir || echo /usr/lib/php4)
-%{!?php_version:%define php_version %(php-config --version || echo bad)}
+%define php_extdir %(php-config --extension-dir 2>/dev/null || echo %{_libdir}/php4)
+%{!?php_version:%define php_version %(php-config --version 2>/dev/null || echo 4.3.11)}
 
 %define module_version 2.4.6
 
 Summary: PHP accelerator, optimizer, encoder and dynamic content cacher
 Name: php-mmcache
 Version: %{php_version}_%{module_version}
-Release: 5
+Release: 7
 License: GPL
 Group: Development/Languages
 URL: http://turck-mmcache.sourceforge.net/
@@ -24,10 +24,10 @@
 caching them in compiled state, so that the overhead of compiling is almost
 completely eliminated. Also it uses some optimizations to speed up execution
 of PHP scripts. Turck MMCache typically reduces server load and increases the
-speed of your PHP code by 1-10 times. 
+speed of your PHP code by 1-10 times.
 
 
-%prep 
+%prep
 %setup -n turck-mmcache-%{module_version}
 
 
@@ -81,6 +81,14 @@
 
 
 %changelog
+* Mon Oct 17 2005 Matthias Saou <http://freshrpms.net/> 4.x.x_2.4.6-7
+- Fix default PHP extension dir if php-config call fails.
+- Default to current PHP version if php-config call fails.
+- Rebuild FC-3 branch for 4.3.11 update.
+
+* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 4.x.x_2.4.6-6
+- rebuilt
+
 * Thu Jan 13 2005 Matthias Saou <http://freshrpms.net/> 4.x.x_2.4.6-4
 - Bump release.
 




More information about the fedora-extras-commits mailing list