summaryrefslogtreecommitdiffstats
path: root/php-pecl-apcu.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-04-30 13:26:14 +0200
committerRemi Collet <fedora@famillecollet.com>2013-04-30 13:26:14 +0200
commit3ebaaff0c1287aa89a5c82fa571bd27f0a7013f0 (patch)
tree390ee4cd5d9d72abf7a3eb2ee1fe04a70cf6b34c /php-pecl-apcu.spec
parent57d87af1956ba3bca1ec571f09ace6bacbb6f088 (diff)
php-pecl-apcu: missing requires
Diffstat (limited to 'php-pecl-apcu.spec')
-rw-r--r--php-pecl-apcu.spec6
1 files changed, 6 insertions, 0 deletions
diff --git a/php-pecl-apcu.spec b/php-pecl-apcu.spec
index 0ce4db4..f3b8b69 100644
--- a/php-pecl-apcu.spec
+++ b/php-pecl-apcu.spec
@@ -1,5 +1,6 @@
%{!?php_inidir: %{expand: %%global php_inidir %{_sysconfdir}/php.d}}
%{!?php_incldir: %{expand: %%global php_incldir %{_includedir}/php}}
+%{!?__pecl: %{expand: %%global __pecl %{_bindir}/pecl}}
%global pecl_name apcu
%global with_zts 0%{?__ztsphp:1}
@@ -19,6 +20,11 @@ URL: http://pecl.php.net/package/APCu
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}