summaryrefslogtreecommitdiffstats
path: root/php-pecl-redis.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-06-17 13:35:48 +0200
committerRemi Collet <fedora@famillecollet.com>2016-06-17 13:35:48 +0200
commit5b00db4e97d68e3482d6bbe274108f34383a0e32 (patch)
tree701986c236b15524ef8be52924c0b5c7645a6027 /php-pecl-redis.spec
parentbbcdf919538ef3919c1fa107f85c270d52c7435c (diff)
php-pecl-redis: test build
Diffstat (limited to 'php-pecl-redis.spec')
-rw-r--r--php-pecl-redis.spec8
1 files changed, 7 insertions, 1 deletions
diff --git a/php-pecl-redis.spec b/php-pecl-redis.spec
index 93fe0f6..d37e657 100644
--- a/php-pecl-redis.spec
+++ b/php-pecl-redis.spec
@@ -33,12 +33,14 @@
Summary: Extension for communicating with the Redis key-value store
Name: %{?sub_prefix}php-pecl-redis
Version: 2.2.8
-Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
License: PHP
Group: Development/Languages
URL: http://pecl.php.net/package/redis
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
+Patch0: %{pecl_name}-pr840.patch
+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: %{?scl_prefix}php-devel
BuildRequires: %{?scl_prefix}php-pear
@@ -110,6 +112,7 @@ sed -e 's/role="test"/role="src"/' \
mv %{pecl_name}-%{version} NTS
cd NTS
+%patch0 -p1 -b .pr840
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_REDIS_VERSION/{s/.* "//;s/".*$//;p}' php_redis.h)
@@ -294,6 +297,9 @@ rm -rf %{buildroot}
%changelog
+* Fri Jun 17 2016 Remi Collet <remi@fedoraproject.org> - 2.2.8-2
+- test build for https://github.com/phpredis/phpredis/issues/742
+
* Thu Jun 9 2016 Remi Collet <remi@fedoraproject.org> - 2.2.8-1
- Update to 2.2.8 (stable)