summaryrefslogtreecommitdiffstats
path: root/php-pecl-memcached.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-11-19 15:02:02 +0100
committerRemi Collet <fedora@famillecollet.com>2012-11-19 15:02:02 +0100
commit5a67ce1e9c5fb6202e126fb48c82a92e43cebc86 (patch)
treed6ec148a81b500a2f20bc63efe86e7c2fc86ea18 /php-pecl-memcached.spec
parent0170039520406d74b98ed1b20d4faeaf4f43ef58 (diff)
requires libmemcached >= build version
Diffstat (limited to 'php-pecl-memcached.spec')
-rw-r--r--php-pecl-memcached.spec8
1 files changed, 6 insertions, 2 deletions
diff --git a/php-pecl-memcached.spec b/php-pecl-memcached.spec
index 4d2e4c2..9455e10 100644
--- a/php-pecl-memcached.spec
+++ b/php-pecl-memcached.spec
@@ -1,11 +1,12 @@
%{!?__pecl: %{expand: %%global __pecl %{_bindir}/pecl}}
%global pecl_name memcached
+%global libmemcached_build_version %(pkg-config --silence-errors --modversion libmemcached 2>/dev/null || echo 65536)
Summary: Extension to work with the Memcached caching daemon
Name: php-pecl-memcached
Version: 2.1.0
-Release: 5%{?dist}
+Release: 6%{?dist}
# memcached is PHP, FastLZ is MIT
License: PHP and MIT
Group: Development/Languages
@@ -31,7 +32,7 @@ BuildRequires: cyrus-sasl-devel
Requires(post): %{__pecl}
Requires(postun): %{__pecl}
-Requires: php-common%{?_isa} >= 5.2.10
+Requires: libmemcached%{?_isa} >= %{libmemcached_build_version}
Requires: php-pecl-igbinary%{?_isa}
Requires: php(zend-abi) = %{php_zend_api}
Requires: php(api) = %{php_core_api}
@@ -181,6 +182,9 @@ ln -s %{php_ztsextdir}/igbinary.so modules/
%changelog
+* Mon Nov 19 2012 Remi Collet <remi@fedoraproject.org> - 2.1.0-6
+- requires libmemcached >= build version
+
* Sat Nov 17 2012 Remi Collet <remi@fedoraproject.org> - 2.1.0-5
- rebuild for libmemcached 1.0.14 (with SASL)
- switch to upstream patch