diff options
Diffstat (limited to 'php-pecl-apcu-dev.spec')
-rw-r--r-- | php-pecl-apcu-dev.spec | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/php-pecl-apcu-dev.spec b/php-pecl-apcu-dev.spec index f1aaadf..c9e35c3 100644 --- a/php-pecl-apcu-dev.spec +++ b/php-pecl-apcu-dev.spec @@ -1,3 +1,5 @@ +%{!?__pecl: %{expand: %%global __pecl %{_bindir}/pecl}} + %global pecl_name apcu Name: php-pecl-apcu @@ -17,6 +19,11 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: php-devel BuildRequires: php-pear +Requires(post): %{__pecl} +Requires(postun): %{__pecl} +Requires: php(zend-abi) = %{php_zend_api} +Requires: php(api) = %{php_core_api} + Obsoletes: php-apcu < 4.0.0-1 Provides: php-apcu = %{version} Provides: php-apcu%{?_isa} = %{version} |