summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pecl-http-php7.spec2
-rw-r--r--php-pecl-http.spec2
2 files changed, 2 insertions, 2 deletions
diff --git a/php-pecl-http-php7.spec b/php-pecl-http-php7.spec
index 67a0276..b51cfd2 100644
--- a/php-pecl-http-php7.spec
+++ b/php-pecl-http-php7.spec
@@ -114,7 +114,7 @@ Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}%{?prev
Provides: %{?scl_prefix}php-%{pecl_name} = %{version}%{?prever}
Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version}%{?prever}
-%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1}
+%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
# Other third party repo stuff
Obsoletes: php53-pecl-http <= %{version}
Obsoletes: php53u-pecl-http <= %{version}
diff --git a/php-pecl-http.spec b/php-pecl-http.spec
index e4552f2..051589a 100644
--- a/php-pecl-http.spec
+++ b/php-pecl-http.spec
@@ -118,7 +118,7 @@ Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}%{?prev
Provides: %{?scl_prefix}php-%{pecl_name} = %{version}%{?prever}
Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version}%{?prever}
-%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1}
+%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
# Other third party repo stuff
Obsoletes: php53-pecl-http <= %{version}
Obsoletes: php53u-pecl-http <= %{version}