[packages/php-xcache] xcache.so is now loaded via extension, not zend_extension
glen
glen at pld-linux.org
Fri Nov 23 17:37:51 CET 2012
commit 484ea7e50bea93929c9bd93ce4e643a7325d6b0e
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri Nov 23 18:37:47 2012 +0200
xcache.so is now loaded via extension, not zend_extension
php-xcache.spec | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/php-xcache.spec b/php-xcache.spec
index c728ab0..40fe9a8 100644
--- a/php-xcache.spec
+++ b/php-xcache.spec
@@ -5,7 +5,7 @@ Summary: %{modname} - PHP opcode cacher
Summary(pl.UTF-8): %{modname} - buforowanie opcodów PHP
Name: php-%{modname}
Version: 3.0.0
-Release: 0.6
+Release: 0.8
License: BSD
Group: Development/Languages/PHP
URL: http://xcache.lighttpd.net/
@@ -19,6 +19,7 @@ BuildRequires: rpmbuild(macros) >= 1.344
BuildRequires: sed >= 4.0
%{?requires_zend_extension}
Requires: php(core) >= 5.0.4
+Requires(triggerpostun): sed >= 4.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _webapps /etc/webapps
@@ -113,6 +114,9 @@ if [ "$1" = 0 ]; then
%php_webserver_restart
fi
+%triggerpostun -- %{name} < 3.0.0-0.8
+%{__sed} -i -e 's,zend_extension,extension,' %{php_sysconfdir}/conf.d/%{modname}.ini
+
%triggerin web -- apache1 < 1.3.37-3, apache1-base
%webapp_register apache %{_webapp}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-xcache.git/commitdiff/484ea7e50bea93929c9bd93ce4e643a7325d6b0e
More information about the pld-cvs-commit
mailing list