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
commit83ade18118da3c050612d6632ddb55002719ed73 (patch)
tree3b3e25faf9d9a4f8d2bba6a8a379a149af8235d9
parent18f4b8dca8672943d3c4584f0c1c114c8d6cef60 (diff)
minor fix
-rw-r--r--php-pecl-yaml-php7.spec2
-rw-r--r--php-pecl-yaml.spec2
2 files changed, 2 insertions, 2 deletions
diff --git a/php-pecl-yaml-php7.spec b/php-pecl-yaml-php7.spec
index 3545787..d49af58 100644
--- a/php-pecl-yaml-php7.spec
+++ b/php-pecl-yaml-php7.spec
@@ -46,7 +46,7 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{relea
Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release}
%endif
-%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1}
+%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
# Other third party repo stuff
Obsoletes: php53-pecl-%{pecl_name} <= %{version}
Obsoletes: php53u-pecl-%{pecl_name} <= %{version}
diff --git a/php-pecl-yaml.spec b/php-pecl-yaml.spec
index 44c74b8..5fe0a60 100644
--- a/php-pecl-yaml.spec
+++ b/php-pecl-yaml.spec
@@ -55,7 +55,7 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{relea
Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release}
%endif
-%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1}
+%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
# Other third party repo stuff
Obsoletes: php53-pecl-%{pecl_name} <= %{version}
Obsoletes: php53u-pecl-%{pecl_name} <= %{version}