From 393377818ada9feb46229e368512b544a1a34e24 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 11 Dec 2016 14:44:28 +0100 Subject: minor fix --- php-pecl-yar-php7.spec | 2 +- php-pecl-yar.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/php-pecl-yar-php7.spec b/php-pecl-yar-php7.spec index 233ed14..b62d4c7 100644 --- a/php-pecl-yar-php7.spec +++ b/php-pecl-yar-php7.spec @@ -69,7 +69,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-yar.spec b/php-pecl-yar.spec index 751167a..3600332 100644 --- a/php-pecl-yar.spec +++ b/php-pecl-yar.spec @@ -55,7 +55,7 @@ Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version} Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{release} Provides: %{?scl_prefix}php-pecl-%{pecl_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} -- cgit