summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-libvirt.spec15
1 files 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