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
commiteb55a572e058b4adbcc0a45fb49caf524d2b41a0 (patch)
tree547e704f8caa6d9370afecadc8e3d0d3e01630e6
parent8e0b7ba9736a0c674ed0097d735f0dad26300041 (diff)
minor fix
-rw-r--r--php-pecl-weakref-php7.spec2
-rw-r--r--php-pecl-weakref.spec2
2 files changed, 2 insertions, 2 deletions
diff --git a/php-pecl-weakref-php7.spec b/php-pecl-weakref-php7.spec
index fe0dfde..4e0f6ff 100644
--- a/php-pecl-weakref-php7.spec
+++ b/php-pecl-weakref-php7.spec
@@ -52,7 +52,7 @@ Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
Provides: %{?scl_prefix}php-pecl-%{ext_name} = %{version}-%{release}
Provides: %{?scl_prefix}php-pecl-%{ext_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}
diff --git a/php-pecl-weakref.spec b/php-pecl-weakref.spec
index d48edf4..553af17 100644
--- a/php-pecl-weakref.spec
+++ b/php-pecl-weakref.spec
@@ -44,7 +44,7 @@ Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
Provides: %{?scl_prefix}php-pecl-%{ext_name} = %{version}-%{release}
Provides: %{?scl_prefix}php-pecl-%{ext_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}