summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-06-22 15:42:11 +0200
committerRemi Collet <remi@remirepo.net>2018-06-22 15:42:11 +0200
commit657613d207540d9db338f2719b24cd36404e72bf (patch)
tree28356e02c0734684c33a9c4a1c36bcea45a91594
parentcbe554bf314452b82add1f568d7278063c8c502e (diff)
obsoletes v3 with PHP 7.3
-rw-r--r--php-pecl-redis4.spec6
1 files changed, 5 insertions, 1 deletions
diff --git a/php-pecl-redis4.spec b/php-pecl-redis4.spec
index 3b0ae48..d51b67e 100644
--- a/php-pecl-redis4.spec
+++ b/php-pecl-redis4.spec
@@ -66,7 +66,7 @@ Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version}
Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version}
Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
-%if 0%{?fedora} >= 29 || 0%{?rhel} >= 8
+%if 0%{?fedora} >= 29 || 0%{?rhel} >= 8 || "%{php_version}" > "7.3"
Obsoletes: %{?scl_prefix}php-pecl-%{pecl_name} < 4
Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{release}
Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release}
@@ -93,6 +93,10 @@ Obsoletes: php71w-pecl-%{pecl_name}4 <= %{version}
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: php73w-pecl-%{pecl_name}4 <= %{version}
+%endif
%endif
%if 0%{?fedora} < 20 && 0%{?rhel} < 7