diff options
-rw-r--r-- | php-ast.spec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/php-ast.spec b/php-ast.spec index c4cc137..e7f254a 100644 --- a/php-ast.spec +++ b/php-ast.spec @@ -41,7 +41,7 @@ Requires: %{?scl_prefix}php(api) = %{php_core_api} Requires: %{?scl_prefix}php-tokenizer%{?_isa} %{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}} -%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} +%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} Obsoletes: php70u-%{pecl_name} <= %{version} Obsoletes: php70w-%{pecl_name} <= %{version} %if "%{php_version}" > "7.1" |