rpms/php-eaccelerator/FC-5 .cvsignore, 1.7, 1.8 php-eaccelerator.spec, 1.12, 1.13 sources, 1.7, 1.8

Matthias Saou (thias) fedora-extras-commits at redhat.com
Mon Oct 16 16:44:50 UTC 2006


Author: thias

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

Modified Files:
	.cvsignore php-eaccelerator.spec sources 
Log Message:
Update to 0.9.5 final.



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/php-eaccelerator/FC-5/.cvsignore,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- .cvsignore	24 Aug 2006 10:42:21 -0000	1.7
+++ .cvsignore	16 Oct 2006 16:44:19 -0000	1.8
@@ -1 +1 @@
-eaccelerator-0.9.5-rc1.tar.bz2
+eaccelerator-0.9.5.tar.bz2


Index: php-eaccelerator.spec
===================================================================
RCS file: /cvs/extras/rpms/php-eaccelerator/FC-5/php-eaccelerator.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- php-eaccelerator.spec	24 Aug 2006 10:42:21 -0000	1.12
+++ php-eaccelerator.spec	16 Oct 2006 16:44:19 -0000	1.13
@@ -1,10 +1,9 @@
 # Useful defaults when building in chroots on systems where PHP is unavailable
 %define default_extdir  %{_libdir}/php4
 %define default_apiver  20041225
-%define default_version 5.1.4
+%define default_version 5.1.6
 
 %define module_version 0.9.5
-%define prever         rc1
 
 %define php_extdir %(php-config --extension-dir 2>/dev/null || echo %{default_extdir})
 %define php_apiver %((echo %{default_apiver}; php -i 2>/dev/null | sed -n 's/^PHP API => //p') | tail -1)
@@ -17,14 +16,15 @@
 Summary: PHP accelerator, optimizer, encoder and dynamic content cacher
 Name: php-eaccelerator
 Version: %{php_version}_%{module_version}
-Release: 0.3.%{prever}%{?dist}
+Release: 1%{?dist}
 License: GPL
 Group: Development/Languages
 URL: http://eaccelerator.sourceforge.net/
-Source: http://dl.sf.net/eaccelerator/eaccelerator-%{module_version}-%{prever}.tar.bz2
+Source: http://bart.eaccelerator.net/source/%{module_version}/eaccelerator-%{module_version}.tar.bz2
 Patch0: eaccelerator-0.9.5-rc1-config.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
@@ -38,7 +38,7 @@
 
 
 %prep
-%setup -n eaccelerator-%{module_version}-%{prever}
+%setup -n eaccelerator-%{module_version}
 %patch0 -p1 -b .config
 # Change paths in the example config, other values are changed by a patch
 %{__perl} -pi -e 's|/usr/lib/php4/|%{php_extdir}/|g;
@@ -75,6 +75,13 @@
 %{__rm} -rf %{buildroot}
 
 
+%preun
+# Upon last removal (not update), clean all cache files
+if [ $1 -eq 0 ]; then
+    rm -rf %{_var}/cache/php-eaccelerator/* &>/dev/null || :
+fi
+
+
 %files
 %defattr(-, root, root, 0755)
 %doc AUTHORS ChangeLog COPYING NEWS README*
@@ -85,6 +92,18 @@
 
 
 %changelog
+* Mon Oct 16 2006 Matthias Saou <http://freshrpms.net/> 5.1.6_0.9.5-1
+- Update to 0.9.5 final.
+- Add cleanup of the cache directory upon package removal.
+
+* Thu Sep  7 2006 Matthias Saou <http://freshrpms.net/> 5.1.6_0.9.5-0.4.rc1
+- Rebuild for PHP 5.1.6, eA still checks the exact PHP version it seems :-(
+- Put "Requires: php = %%{php_version}" back to avoid broken setups if/when
+  PHP gets updated.
+
+* Mon Aug 28 2006 Matthias Saou <http://freshrpms.net/> 5.1.4_0.9.5-0.4.rc1
+- FC6 rebuild.
+
 * Tue Aug 22 2006 Matthias Saou <http://freshrpms.net/> 5.1.4_0.9.5-0.3.rc1
 - Update to 0.9.5-rc1.
 - Enable shared-memory, sessions and content-caching (#201319).


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/php-eaccelerator/FC-5/sources,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- sources	24 Aug 2006 10:42:21 -0000	1.7
+++ sources	16 Oct 2006 16:44:19 -0000	1.8
@@ -1 +1 @@
-5d03deb399f8f857d92dd092a2c69a87  eaccelerator-0.9.5-rc1.tar.bz2
+dad54af67488b83a2af6e30f661f613b  eaccelerator-0.9.5.tar.bz2




More information about the scm-commits mailing list