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
commitae163166222a1c6d72e3bed2614be6b2263200ea (patch)
tree18657cf510cf63931c781afb8b4e2d51868329cb
parent6dda1d3d7596412565efd82d9cf552a7c8a3e282 (diff)
minor fix
-rw-r--r--php-pecl-stats-php7.spec2
-rw-r--r--php-pecl-stats.spec2
2 files changed, 2 insertions, 2 deletions
diff --git a/php-pecl-stats-php7.spec b/php-pecl-stats-php7.spec
index d26d3c2..36c6c33 100644
--- a/php-pecl-stats-php7.spec
+++ b/php-pecl-stats-php7.spec
@@ -37,7 +37,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-stats.spec b/php-pecl-stats.spec
index b6a533d..bdfd627 100644
--- a/php-pecl-stats.spec
+++ b/php-pecl-stats.spec
@@ -42,7 +42,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}