summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-lz4.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/php-lz4.spec b/php-lz4.spec
index fd615ab..6c1f6f7 100644
--- a/php-lz4.spec
+++ b/php-lz4.spec
@@ -41,7 +41,7 @@ Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
Requires: %{?scl_prefix}php(api) = %{php_core_api}
%{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}}
-%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1}
+%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
# Other third party repo stuff
Obsoletes: php53-%{pecl_name} <= %{version}
Obsoletes: php53u-%{pecl_name} <= %{version}