summaryrefslogtreecommitdiffstats
path: root/php-pecl-solr2.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-solr2.spec')
-rw-r--r--php-pecl-solr2.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/php-pecl-solr2.spec b/php-pecl-solr2.spec
index 40fc0ce..ed382eb 100644
--- a/php-pecl-solr2.spec
+++ b/php-pecl-solr2.spec
@@ -77,7 +77,7 @@ Conflicts: %{?sub_prefix}php-pecl-%{pecl_name} < 2
Conflicts: %{?scl_prefix}php-pecl-%{pecl_name} < 2
%endif
-%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1}
+%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
Obsoletes: php53-pecl-%{pecl_name}2 <= %{version}
Obsoletes: php53u-pecl-%{pecl_name}2 <= %{version}
Obsoletes: php54-pecl-%{pecl_name}2 <= %{version}