From ad2e3051b2f6126a744754dea3c8b63bf442b9e3 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 21 Oct 2018 08:36:51 +0200 Subject: test build with upstream patches --- 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 ff1763e..de69dde 100644 --- a/php-pecl-redis4.spec +++ b/php-pecl-redis4.spec @@ -34,11 +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: 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/2e412373c47a574a1215756e79e6512a46e30cdc.patch +Patch1: https://github.com/phpredis/phpredis/commit/0b97ec3739d99f0778ff827cb58c011b92d27a74.patch + BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel BuildRequires: %{?scl_prefix}php-pear @@ -127,6 +130,8 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd NTS +%patch0 -p1 +%patch1 -p1 # Use system library rm -r liblzf @@ -333,6 +338,9 @@ fi %changelog +* Sun Oct 21 2018 Remi Collet - 4.2.0~RC1-2 +- test build with upstream patches + * Fri Oct 12 2018 Remi Collet - 4.2.0~RC1-1 - update to 4.2.0RC1 (alpha) -- cgit