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
commit8487cc317a66d27251be17ef99acdf559efdb612 (patch)
tree57a84cd612a04c6d1843d38d2e293035f1191b05
parentf1be67dccd6c43fee4365e7cb35e56e1c4e10d51 (diff)
minor fix
-rw-r--r--php-pecl-gearman-dev.spec2
-rw-r--r--php-pecl-gearman.spec2
2 files changed, 2 insertions, 2 deletions
diff --git a/php-pecl-gearman-dev.spec b/php-pecl-gearman-dev.spec
index cf3741b..dd5a05b 100644
--- a/php-pecl-gearman-dev.spec
+++ b/php-pecl-gearman-dev.spec
@@ -62,7 +62,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-gearman.spec b/php-pecl-gearman.spec
index e21caec..408eb35 100644
--- a/php-pecl-gearman.spec
+++ b/php-pecl-gearman.spec
@@ -59,7 +59,7 @@ Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{release}
Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release}
-%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}