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
commit5cff6ca8141b78cd70e8d5c2577be30d6b212b09 (patch)
tree7e4e9e90ece38d9d09b13d5bb7b861bd4e8eba57
parent65b51db5306f9b3d600162d25d27aca7a31a0354 (diff)
minor fix
-rw-r--r--php-pecl-yaf-php7.spec2
-rw-r--r--php-pecl-yaf.spec2
2 files changed, 2 insertions, 2 deletions
diff --git a/php-pecl-yaf-php7.spec b/php-pecl-yaf-php7.spec
index 65295b7..aece11d 100644
--- a/php-pecl-yaf-php7.spec
+++ b/php-pecl-yaf-php7.spec
@@ -52,7 +52,7 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{relea
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-yaf.spec b/php-pecl-yaf.spec
index 6971ea2..768f8ad 100644
--- a/php-pecl-yaf.spec
+++ b/php-pecl-yaf.spec
@@ -50,7 +50,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}