From cbfd077919cf028cefb7227538e233aba3691f58 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 27 Jan 2021 14:26:07 +0100 Subject: more cleanup --- php-libvirt.spec | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/php-libvirt.spec b/php-libvirt.spec index 9d50828..7132e1c 100644 --- a/php-libvirt.spec +++ b/php-libvirt.spec @@ -56,24 +56,15 @@ Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} Requires: %{?scl_prefix}php(api) = %{php_core_api} %{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}} -## Compat SCL (rh-php56) -%if "%{?scl_prefix}" != "%{?sub_prefix}" -Provides: %{?scl_prefix}php-libvirt = %{version}-%{release} -Provides: %{?scl_prefix}php-libvirt%{?_isa} = %{version}-%{release} -%endif - %if "%{?packager}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} -%if "%{php_version}" > "7.2" -Obsoletes: php72u-libvirt <= %{version} -Obsoletes: php72w-libvirt <= %{version} -%endif %if "%{php_version}" > "7.3" Obsoletes: php73-libvirt <= %{version} -Obsoletes: php73w-libvirt <= %{version} %endif %if "%{php_version}" > "7.4" Obsoletes: php74-libvirt <= %{version} -Obsoletes: php74w-libvirt <= %{version} +%endif +%if "%{php_version}" > "8.0" +Obsoletes: php80-libvirt <= %{version} %endif %endif -- cgit