From bfd4ed9fa57792abc5de6c254eb1208a90a81195 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 22 May 2019 11:40:59 +0200 Subject: cleanup --- php-pecl-redis4.spec | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/php-pecl-redis4.spec b/php-pecl-redis4.spec index e5270ce..78def23 100644 --- a/php-pecl-redis4.spec +++ b/php-pecl-redis4.spec @@ -34,7 +34,7 @@ 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 @@ -75,14 +75,6 @@ Conflicts: %{?scl_prefix}php-pecl-%{pecl_name} < 4 %if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} # Other third party repo stuff -%if "%{php_version}" > "5.6" -Obsoletes: php56u-pecl-%{pecl_name}4 <= %{version} -Obsoletes: php56w-pecl-%{pecl_name}4 <= %{version} -%endif -%if "%{php_version}" > "7.0" -Obsoletes: php70u-pecl-%{pecl_name}4 <= %{version} -Obsoletes: php70w-pecl-%{pecl_name}4 <= %{version} -%endif %if "%{php_version}" > "7.1" Obsoletes: php71u-pecl-%{pecl_name}4 <= %{version} Obsoletes: php71w-pecl-%{pecl_name}4 <= %{version} @@ -92,9 +84,13 @@ Obsoletes: php72u-pecl-%{pecl_name}4 <= %{version} Obsoletes: php72w-pecl-%{pecl_name}4 <= %{version} %endif %if "%{php_version}" > "7.3" -Obsoletes: php73u-pecl-%{pecl_name}4 <= %{version} +Obsoletes: php73-pecl-%{pecl_name} <= %{version} Obsoletes: php73w-pecl-%{pecl_name}4 <= %{version} %endif +%if "%{php_version}" > "7.4" +Obsoletes: php74-pecl-%{pecl_name} <= %{version} +Obsoletes: php74w-pecl-%{pecl_name}4 <= %{version} +%endif %endif %if 0%{?fedora} < 20 && 0%{?rhel} < 7 @@ -340,6 +336,9 @@ fi %changelog +* Wed May 22 2019 Remi Collet - 4.3.0-2 +- cleanup + * Thu Mar 14 2019 Remi Collet - 4.3.0-1 - update to 4.3.0 (stable) -- cgit