summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pecl-apcu-php7.spec2
-rw-r--r--php-pecl-apcu.spec2
2 files changed, 2 insertions, 2 deletions
diff --git a/php-pecl-apcu-php7.spec b/php-pecl-apcu-php7.spec
index 855eb73..2c33141 100644
--- a/php-pecl-apcu-php7.spec
+++ b/php-pecl-apcu-php7.spec
@@ -64,7 +64,7 @@ Provides: %{?scl_prefix}php-pecl-apcu = %{version}-%{release}
Provides: %{?scl_prefix}php-pecl-apcu%{?_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-apcu.spec b/php-pecl-apcu.spec
index ba4e29b..382e302 100644
--- a/php-pecl-apcu.spec
+++ b/php-pecl-apcu.spec
@@ -78,7 +78,7 @@ Provides: %{?scl_prefix}php-pecl-apc%{?_isa} = %{version}
Provides: %{?scl_prefix}php-pecl(APC) = %{version}
Provides: %{?scl_prefix}php-pecl(APC)%{?_isa} = %{version}
-%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}