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
commitddb316da03dcb0815c620b197277b361e2d7f8c2 (patch)
treee5d6f1a61dd978fd9c15ea2bac73394e479de16e
parent45268c23afbb8af345c25e726571abf66b85b5ec (diff)
minor fix
-rw-r--r--php-pecl-rrd-php7.spec2
-rw-r--r--php-pecl-rrd.spec2
2 files changed, 2 insertions, 2 deletions
diff --git a/php-pecl-rrd-php7.spec b/php-pecl-rrd-php7.spec
index 2c8c231..4b3a1a3 100644
--- a/php-pecl-rrd-php7.spec
+++ b/php-pecl-rrd-php7.spec
@@ -45,7 +45,7 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{releas
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-rrd.spec b/php-pecl-rrd.spec
index 3d3bf29..64eb081 100644
--- a/php-pecl-rrd.spec
+++ b/php-pecl-rrd.spec
@@ -50,7 +50,7 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{releas
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}