summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-12-11 14:44:28 +0100
committerRemi Collet <fedora@famillecollet.com>2016-12-11 14:44:28 +0100
commit64b5f21ded7247da23277d8a71fd2b1ebc4d1d5f (patch)
tree073265de6b4bd3bda33dd4c1c3c25f9b133a899a
parenteab68552edbcb1287e572466f4052236daa4ef62 (diff)
minor fix
-rw-r--r--php-pecl-yaconf.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/php-pecl-yaconf.spec b/php-pecl-yaconf.spec
index 6790abd..479c81e 100644
--- a/php-pecl-yaconf.spec
+++ b/php-pecl-yaconf.spec
@@ -38,7 +38,7 @@ Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
Requires: %{?scl_prefix}php(api) = %{php_core_api}
%{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}}
-%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1}
+%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
Obsoletes: php70u-pecl-%{pecl_name} <= %{version}
Obsoletes: php70w-pecl-%{pecl_name} <= %{version}
%if "%{php_version}" > "7.1"