summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pecl-stomp-php7.spec2
-rw-r--r--php-pecl-stomp.spec2
2 files changed, 2 insertions, 2 deletions
diff --git a/php-pecl-stomp-php7.spec b/php-pecl-stomp-php7.spec
index 44f8861..b44ec72 100644
--- a/php-pecl-stomp-php7.spec
+++ b/php-pecl-stomp-php7.spec
@@ -41,7 +41,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-stomp.spec b/php-pecl-stomp.spec
index 1c4dac2..dc808cf 100644
--- a/php-pecl-stomp.spec
+++ b/php-pecl-stomp.spec
@@ -44,7 +44,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}