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
commit3330f1cc3fd593fbdc9d9b19299a4abd31bc7adb (patch)
tree5a2a57a300400535e1421923de34953d7b816cb1
parent4c677703ccdfd58973d1dbaec4778bddee83fcb2 (diff)
minor fix
-rw-r--r--php-pecl-redis-php7.spec2
-rw-r--r--php-pecl-redis.spec2
2 files changed, 2 insertions, 2 deletions
diff --git a/php-pecl-redis-php7.spec b/php-pecl-redis-php7.spec
index 8b1ecc1..5542318 100644
--- a/php-pecl-redis-php7.spec
+++ b/php-pecl-redis-php7.spec
@@ -70,7 +70,7 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{release}
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-redis.spec b/php-pecl-redis.spec
index d37e657..d503bd3 100644
--- a/php-pecl-redis.spec
+++ b/php-pecl-redis.spec
@@ -66,7 +66,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}