Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php5
:
EL5
:
extensions
>
php-pecl-ZendOpcache
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 3
[-]
[+]
Changed
php-pecl-ZendOpcache.spec
@@ -3,6 +3,7 @@ %global php_apiver %((echo 0; php -i 2>/dev/null | sed -n 's/^PHP API => //p') | tail -1) %define pecl_name zendopcache +%define pecl_so_name opcache Summary: The Zend OPcache provides faster PHP execution through opcode caching and optimization Name: php-pecl-ZendOpcache @@ -20,6 +21,7 @@ Requires(post): %{__pecl} Requires(postun): %{__pecl} Provides: php-pecl(%{pecl_name}) = %{version}-%{release} +Provides: php-pecl(%{pecl_so_name}) = %{version}-%{release} %if %{defined php_zend_api} Requires: php(zend-abi) = %{php_zend_api} Requires: php(api) = %{php_core_api} @@ -53,8 +55,8 @@ # Drop in the bit of configuration %{__mkdir_p} %{buildroot}%{_sysconfdir}/php.d %{__cat} > %{buildroot}%{_sysconfdir}/php.d/%{pecl_name}.ini << 'EOF' -; Enable %{pecl_name} extension module -zend_extension=%{php_extdir}/%{pecl_name}.so +; Enable %{pecl_so_name} extension module +zend_extension=%{php_extdir}/%{pecl_so_name}.so opcache.memory_consumption=128 opcache.interned_strings_buffer=8 @@ -92,7 +94,7 @@ %defattr(-, root, root, -) %doc %{pecl_name}-%{version}/README %config(noreplace) %{_sysconfdir}/php.d/%{pecl_name}.ini -%{php_extdir}/%{pecl_name}.so +%{php_extdir}/%{pecl_so_name}.so %{pecl_xmldir}/%{name}.xml %changelog