diff options
Diffstat (limited to 'php-pecl-redis4.spec')
-rw-r--r-- | php-pecl-redis4.spec | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/php-pecl-redis4.spec b/php-pecl-redis4.spec index eeb1020..057f219 100644 --- a/php-pecl-redis4.spec +++ b/php-pecl-redis4.spec @@ -34,11 +34,13 @@ Summary: Extension for communicating with the Redis key-value store Name: %{?sub_prefix}php-pecl-redis4 Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -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;')}} Source0: http://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz License: PHP URL: http://pecl.php.net/package/redis +Patch0: https://github.com/phpredis/phpredis/commit/18dc2aacd6ab25c2aaf92a43d32d8eaf4235dcc0.patch + BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel BuildRequires: %{?scl_prefix}php-pear @@ -127,6 +129,8 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd NTS +%patch0 -p1 + # Use system library rm -r liblzf @@ -270,11 +274,6 @@ port=$(%{__php} -r 'echo 9000 + PHP_MAJOR_VERSION*100 + PHP_MINOR_VERSION*10 + P --dir $PWD/data \ --pidfile $pidfile -# see https://github.com/phpredis/phpredis/issues/1437 -%if %{__isa_bits} < 64 -sed -e 's/testXClaim/skipXClaim/' -i RedisTest.php -%endif - : Run the test Suite sed -e "s/6379/$port/" -i *.php @@ -334,6 +333,9 @@ fi %changelog +* Wed Nov 7 2018 Remi Collet <remi@remirepo.net> - 4.2.0~RC2-2 +- test build for https://github.com/phpredis/phpredis/pull/1444 + * Fri Oct 26 2018 Remi Collet <remi@remirepo.net> - 4.2.0~RC2-1 - update to 4.2.0RC2 (beta) - open https://github.com/phpredis/phpredis/issues/1437 32-bit failed test |