summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pecl-dbase-php7.spec2
-rw-r--r--php-pecl-dbase.spec2
2 files changed, 2 insertions, 2 deletions
diff --git a/php-pecl-dbase-php7.spec b/php-pecl-dbase-php7.spec
index 51bb909..aa54305 100644
--- a/php-pecl-dbase-php7.spec
+++ b/php-pecl-dbase-php7.spec
@@ -46,7 +46,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-dbase.spec b/php-pecl-dbase.spec
index dcae7c2..539af3e 100644
--- a/php-pecl-dbase.spec
+++ b/php-pecl-dbase.spec
@@ -54,7 +54,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}