summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-01-27 14:26:07 +0100
committerRemi Collet <remi@remirepo.net>2021-01-27 14:26:07 +0100
commitcbfd077919cf028cefb7227538e233aba3691f58 (patch)
treead7ed028896b2c9e577cdea82347d2c2b19201ff
parentf233755ce70a0a0315ec8b1060ae135918038443 (diff)
more cleanup
-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