summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pecl-memcached.spec9
1 files changed, 6 insertions, 3 deletions
diff --git a/php-pecl-memcached.spec b/php-pecl-memcached.spec
index 7c235bc..d4b3e54 100644
--- a/php-pecl-memcached.spec
+++ b/php-pecl-memcached.spec
@@ -27,7 +27,7 @@
Summary: Extension to work with the Memcached caching daemon
Name: %{?sub_prefix}php-pecl-memcached
Version: 3.0.3
-Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: PHP
Group: Development/Languages
URL: http://pecl.php.net/package/%{pecl_name}
@@ -52,9 +52,9 @@ BuildRequires: fastlz-devel
BuildRequires: memcached
%endif
-BuildRequires: libevent-devel >= 2.0.2
+BuildRequires: pkgconfig(libevent) >= 2.0.2
# To ensure use of libmemcached-last for --enable-memcached-protocol
-BuildRequires: libmemcached-devel >= 1.0.16
+BuildRequires: pkgconfig(libmemcached) >= 1.0.16
Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
Requires: %{?scl_prefix}php(api) = %{php_core_api}
@@ -333,6 +333,9 @@ exit $ret
%changelog
+* Fri Apr 14 2017 Remi Collet <remi@fedoraproject.org> - 3.0.3-2
+- ensure we use libevent2 on EL-6
+
* Mon Feb 20 2017 Remi Collet <remi@fedoraproject.org> - 3.0.3-1
- update to 3.0.3 (php 7, stable)
- build with --enable-memcached-protocol option