summaryrefslogtreecommitdiffstats
path: root/php-pecl-memcached.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-11-28 13:13:14 +0100
committerRemi Collet <remi@remirepo.net>2017-11-28 13:13:14 +0100
commitb0013c19105f881d3d2b8a923571521e86d1de83 (patch)
tree46dfc5116d6941b11987cdf39c7ca791b44c0ffb /php-pecl-memcached.spec
parentfced9219c12406d3a592c341177f9b5e94fbed7a (diff)
add upstream patch to disable binary protocol with old libmemcached 1.0.16 in EL-7
Diffstat (limited to 'php-pecl-memcached.spec')
-rw-r--r--php-pecl-memcached.spec9
1 files changed, 8 insertions, 1 deletions
diff --git a/php-pecl-memcached.spec b/php-pecl-memcached.spec
index 7d314f1..8d07b78 100644
--- a/php-pecl-memcached.spec
+++ b/php-pecl-memcached.spec
@@ -27,13 +27,15 @@
Summary: Extension to work with the Memcached caching daemon
Name: %{?sub_prefix}php-pecl-memcached
Version: 3.0.4
-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}
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
+Patch0: %{pecl_name}-pr330.patch
+
BuildRequires: %{?scl_prefix}php-devel >= 7
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: %{?scl_prefix}php-json
@@ -128,6 +130,7 @@ sed -e 's/role="test"/role="src"/' \
-i package.xml
cd NTS
+%patch0 -p1 -b .pr330
%if %{with_fastlz}
rm -r fastlz
@@ -331,6 +334,10 @@ exit $ret
%changelog
+* Tue Nov 28 2017 Remi Collet <remi@remirepo.net> - 3.0.4-2
+- add upstream patch to disable binary protocol with
+ old libmemcached 1.0.16 in EL-7
+
* Tue Nov 21 2017 Remi Collet <remi@remirepo.net> - 3.0.4-1
- Update to 3.0.4