summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pecl-mysql.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/php-pecl-mysql.spec b/php-pecl-mysql.spec
index d6abee4..1d8f224 100644
--- a/php-pecl-mysql.spec
+++ b/php-pecl-mysql.spec
@@ -63,6 +63,10 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{rele
# Other third party repo stuff
Obsoletes: php70u-pecl-%{pecl_name} <= %{version}
Obsoletes: php70w-pecl-%{pecl_name} <= %{version}
+%if "%{php_version}" > "7.1"
+Obsoletes: php71u-pecl-%{pecl_name} <= %{version}
+Obsoletes: php71w-pecl-%{pecl_name} <= %{version}
+%endif
%endif
%if 0%{?fedora} < 20 && 0%{?rhel} < 7