[packages/php-pecl-zendopcache: 2/2] zend_extension wants full path somewhy
glen
glen at pld-linux.org
Tue Apr 2 12:49:28 CEST 2013
commit 022f88579242c276e863f787db54a55a0d03fae7
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Apr 2 13:48:58 2013 +0300
zend_extension wants full path somewhy
php-pecl-zendopcache.spec | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/php-pecl-zendopcache.spec b/php-pecl-zendopcache.spec
index bd4c17e..c5523bb 100644
--- a/php-pecl-zendopcache.spec
+++ b/php-pecl-zendopcache.spec
@@ -6,7 +6,7 @@ Summary: Zend Optimizer+ - PHP code optimizer
Summary(pl.UTF-8): Zend Optimizer+ - optymalizator kodu PHP
Name: php-pecl-%{modname}
Version: 7.0.1
-Release: 0.1
+Release: 1
License: PHP 3.01
Group: Libraries
Source0: http://pecl.php.net/get/%{modname}-%{version}.tgz
@@ -40,14 +40,13 @@ rm -rf $RPM_BUILD_ROOT
EXTENSION_DIR=%{php_extensiondir} \
INSTALL_ROOT=$RPM_BUILD_ROOT
-# TODO:
# NOTE: In case you are going to use Zend OPcache together with Xdebug,
# be sure that Xdebug is loaded after OPcache. "php -v" must show Xdebug
# after OPcache.
install -d $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d
cat <<'EOF' > $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{modname}.ini
; Enable %{modname} zend extension module
-zend_extension=opcache.so
+zend_extension=%{php_extensiondir}/opcache.so
EOF
%clean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-zendopcache.git/commitdiff/022f88579242c276e863f787db54a55a0d03fae7
More information about the pld-cvs-commit
mailing list