]> git.pld-linux.org Git - packages/php-pecl-zendopcache.git/commitdiff
symmetry: use opcache.ini as config file as well master auto/th/php-pecl-zendopcache-7.0.5-3
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 6 Dec 2017 20:18:32 +0000 (22:18 +0200)
committerElan Ruusamäe <glen@pld-linux.org>
Wed, 6 Dec 2017 20:18:32 +0000 (22:18 +0200)
php-pecl-zendopcache.spec

index 4a6a49e86396da3f72e1369b6f12127f86c6bb0e..480ca13ac011102920700dbdad087ed460e2d202 100644 (file)
@@ -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,@extensiondir@,%{php_extensiondir},' %{SOURCE1} > $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{modname}.ini
+sed -e 's,@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
This page took 0.09469 seconds and 4 git commands to generate.