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
commit7435e598943f1d288ae195414ef2f7f491334b13 (patch)
treec36d896d1d48604e4ec926b54df3ede98e2912f6
parent0fdd5a03d46da0dc9fbed7b7e6eb68d943445498 (diff)
minor fix
-rw-r--r--php-pecl-bitset-php7.spec2
-rw-r--r--php-pecl-bitset.spec2
2 files changed, 2 insertions, 2 deletions
diff --git a/php-pecl-bitset-php7.spec b/php-pecl-bitset-php7.spec
index bf95b86..2fd080b 100644
--- a/php-pecl-bitset-php7.spec
+++ b/php-pecl-bitset-php7.spec
@@ -36,7 +36,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}
diff --git a/php-pecl-bitset.spec b/php-pecl-bitset.spec
index 8fcab05..24c4b30 100644
--- a/php-pecl-bitset.spec
+++ b/php-pecl-bitset.spec
@@ -44,7 +44,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}