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
commit17b5d238948265cd8c7db3e4f009b9cce799cc02 (patch)
treee488eba6404537a64900c5801c85c9c7b3230d5c
parent3fafc8239d7153583d964d94ff0462bc7cba4d1e (diff)
minor fix
-rw-r--r--php-pecl-oauth-php7.spec2
-rw-r--r--php-pecl-oauth.spec2
2 files changed, 2 insertions, 2 deletions
diff --git a/php-pecl-oauth-php7.spec b/php-pecl-oauth-php7.spec
index 7ecd07c..d5dd917 100644
--- a/php-pecl-oauth-php7.spec
+++ b/php-pecl-oauth-php7.spec
@@ -44,7 +44,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-oauth.spec b/php-pecl-oauth.spec
index 63ce09f..35d82db 100644
--- a/php-pecl-oauth.spec
+++ b/php-pecl-oauth.spec
@@ -53,7 +53,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}