]> git.pld-linux.org Git - packages/php-pecl-zendopcache.git/commitdiff
add php suffix support auto/th/php-pecl-zendopcache-7.0.1-2
authorElan Ruusamäe <glen@delfi.ee>
Sat, 25 May 2013 09:27:17 +0000 (12:27 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sat, 25 May 2013 09:27:17 +0000 (12:27 +0300)
php-pecl-zendopcache.spec

index c01c8afd16329b80246d95b18840c12a603bd4ae..2141ba4cc85f2e2385989177ea8fc051e72bab4c 100644 (file)
@@ -1,19 +1,20 @@
 # NOTE:
 # This version of Zend OPcache is compatible with PHP 5.2.*, 5.3.*, 5.4.*
 # and PHP-5.5 development branch.  PHP 5.2 support may be removed in the future.
+%define                php_name        php%{?php_suffix}
 %define                modname zendopcache
 Summary:       Zend Optimizer+ - PHP code optimizer
 Summary(pl.UTF-8):     Zend Optimizer+ - optymalizator kodu PHP
-Name:          php-pecl-%{modname}
+Name:          %{php_name}-pecl-%{modname}
 Version:       7.0.1
-Release:       1
+Release:       2
 License:       PHP 3.01
-Group:         Libraries
+Group:         Development/Languages/PHP
 Source0:       http://pecl.php.net/get/%{modname}-%{version}.tgz
 # Source0-md5: 3a0a43a4819c72763bc35ecf5689221e
 Source1:       %{modname}.ini
 URL:           http://pecl.php.net/package/zendopcache
-BuildRequires: php-devel >= 4:5.0.4
+BuildRequires: %{php_name}-devel >= 4:5.0.4
 BuildRequires: rpmbuild(macros) >= 1.519
 %{?requires_php_extension}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -61,5 +62,5 @@ fi
 %files
 %defattr(644,root,root,755)
 %doc README LICENSE
+%config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/%{modname}.ini
 %attr(755,root,root) %{php_extensiondir}/opcache.so
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php/conf.d/%{modname}.ini
This page took 0.081156 seconds and 4 git commands to generate.