From bfabdcf824f76d9b24cee465805cb18cc97db006 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 8 Feb 2018 05:51:20 +0100 Subject: add patch to skip online test from https://github.com/phpredis/phpredis/pull/1304 --- php-pecl-redis4.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'php-pecl-redis4.spec') diff --git a/php-pecl-redis4.spec b/php-pecl-redis4.spec index fe948e2..2f05def 100644 --- a/php-pecl-redis4.spec +++ b/php-pecl-redis4.spec @@ -34,12 +34,14 @@ 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: 3%{?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 Group: Development/Languages URL: http://pecl.php.net/package/redis +Patch0: %{pecl_name}-tests.patch + BuildRequires: %{?scl_prefix}php-devel BuildRequires: %{?scl_prefix}php-pear %if %{with_igbin} @@ -123,6 +125,8 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd NTS +%patch0 -p1 -b .pr + # Use system library rm -r liblzf @@ -319,6 +323,10 @@ fi %changelog +* Wed Feb 7 2018 Remi Collet - 4.0.0~RC1-3 +- add patch to skip online test from + https://github.com/phpredis/phpredis/pull/1304 + * Wed Feb 7 2018 Remi Collet - 4.0.0~RC1-1 - update to 4.0.0RC1 - rename to php-pecl-redis4 -- cgit