summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pecl-yaf-dev.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/php-pecl-yaf-dev.spec b/php-pecl-yaf-dev.spec
index e4b82a0..3666ba4 100644
--- a/php-pecl-yaf-dev.spec
+++ b/php-pecl-yaf-dev.spec
@@ -66,6 +66,10 @@ Obsoletes: php55w-pecl-%{pecl_name} <= %{version}
Obsoletes: php56u-pecl-%{pecl_name} <= %{version}
Obsoletes: php56w-pecl-%{pecl_name} <= %{version}
%endif
+%if "%{php_version}" > "7.0"
+Obsoletes: php70u-pecl-%{pecl_name} <= %{version}
+Obsoletes: php70w-pecl-%{pecl_name} <= %{version}
+%endif
%endif
%if 0%{?fedora} < 20 && 0%{?rhel} < 7