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
commitaaae5f7b122e055cae9389f803be542e447c9507 (patch)
treebec6674aad540e9a6566ba45416c7d22fcdfd9dc
parent6cf1395ff1800d9712e2449137d6cae1c2f5d095 (diff)
minor fix
-rw-r--r--php-pecl-uopz-php7.spec2
-rw-r--r--php-pecl-uopz.spec2
2 files changed, 2 insertions, 2 deletions
diff --git a/php-pecl-uopz-php7.spec b/php-pecl-uopz-php7.spec
index 8f22e18..e14860b 100644
--- a/php-pecl-uopz-php7.spec
+++ b/php-pecl-uopz-php7.spec
@@ -52,7 +52,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-uopz.spec b/php-pecl-uopz.spec
index cb341af..68bff34 100644
--- a/php-pecl-uopz.spec
+++ b/php-pecl-uopz.spec
@@ -51,7 +51,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}