summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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