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
commitb83ffb58acf5ffc9b52ef8fc7f845ed2cd947cba (patch)
tree7db39d63cbcb7385aca792acaddaf39fb731c4db
parentbba03a920a467f136fc7b429b900abd63287463b (diff)
minor fix
-rw-r--r--php-pecl-yac-php7.spec2
-rw-r--r--php-pecl-yac.spec2
2 files changed, 2 insertions, 2 deletions
diff --git a/php-pecl-yac-php7.spec b/php-pecl-yac-php7.spec
index 751b3b9..e2c2796 100644
--- a/php-pecl-yac-php7.spec
+++ b/php-pecl-yac-php7.spec
@@ -65,7 +65,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-yac.spec b/php-pecl-yac.spec
index 94ea294..262ed0a 100644
--- a/php-pecl-yac.spec
+++ b/php-pecl-yac.spec
@@ -59,7 +59,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}