[packages/php-pecl-zendopcache] symmetry: use opcache.ini as config file as well

glen glen at pld-linux.org
Wed Dec 6 21:18:43 CET 2017


commit 90b1f3d3d1f476e1298ccfb176077d34358b73ec
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Wed Dec 6 22:18:32 2017 +0200

    symmetry: use opcache.ini as config file as well

 php-pecl-zendopcache.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/php-pecl-zendopcache.spec b/php-pecl-zendopcache.spec
index 4a6a49e..480ca13 100644
--- a/php-pecl-zendopcache.spec
+++ b/php-pecl-zendopcache.spec
@@ -7,7 +7,7 @@ Summary:	Zend Optimizer+ - PHP code optimizer
 Summary(pl.UTF-8):	Zend Optimizer+ - optymalizator kodu PHP
 Name:		%{php_name}-pecl-%{modname}
 Version:	7.0.5
-Release:	2
+Release:	3
 License:	PHP 3.01
 Group:		Development/Languages/PHP
 Source0:	https://pecl.php.net/get/%{modname}-%{version}.tgz
@@ -54,7 +54,7 @@ rm -rf $RPM_BUILD_ROOT
 # be sure that Xdebug is loaded after OPcache. "php -v" must show Xdebug
 # after OPcache.
 install -d $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d
-sed -e 's, at extensiondir@,%{php_extensiondir},' %{SOURCE1} > $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{modname}.ini
+sed -e 's, at extensiondir@,%{php_extensiondir},' %{SOURCE1} > $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/opcache.ini
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -70,5 +70,5 @@ fi
 %files
 %defattr(644,root,root,755)
 %doc README LICENSE
-%config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/%{modname}.ini
+%config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/opcache.ini
 %attr(755,root,root) %{php_extensiondir}/opcache.so
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-zendopcache.git/commitdiff/90b1f3d3d1f476e1298ccfb176077d34358b73ec



More information about the pld-cvs-commit mailing list