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
commit0f3bc3b8e077f422d73764ac1837ea4582dc1784 (patch)
treee60136e824fb1faf3697d7a73d1a6d126bedf660
parent2de312b176a8b4d62e6992b5cc412c8075ed51d1 (diff)
minor fix
-rw-r--r--php-pecl-zookeeper-dev.spec2
-rw-r--r--php-pecl-zookeeper.spec2
2 files changed, 2 insertions, 2 deletions
diff --git a/php-pecl-zookeeper-dev.spec b/php-pecl-zookeeper-dev.spec
index 0390e89..df99c8d 100644
--- a/php-pecl-zookeeper-dev.spec
+++ b/php-pecl-zookeeper-dev.spec
@@ -42,7 +42,7 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{rele
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-zookeeper.spec b/php-pecl-zookeeper.spec
index d3a8ac0..489f588 100644
--- a/php-pecl-zookeeper.spec
+++ b/php-pecl-zookeeper.spec
@@ -42,7 +42,7 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{rele
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}