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
commita9a02ca93b42aa0f42243928ae7ea7b179069490 (patch)
tree0b6d125ec8dab56e64eaebcef1b1c4e4a074190f
parent4e2c1f227775e5f0cd0cb6d231e9fd7d6fe499e9 (diff)
minor fix
-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}