From aaae5f7b122e055cae9389f803be542e447c9507 Mon Sep 17 00:00:00 2001
From: Remi Collet <fedora@famillecollet.com>
Date: Sun, 11 Dec 2016 14:44:28 +0100
Subject: minor fix

---
 php-pecl-uopz-php7.spec | 2 +-
 php-pecl-uopz.spec      | 2 +-
 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}
-- 
cgit