From 53df686fbf624872447f7bcaa7e4e32eb8acf4f8 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 15 Sep 2016 12:01:01 +0200 Subject: PHP 7.1.0RC2 (base) + extension mass rebuild for new API --- php-libvirt.spec | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/php-libvirt.spec b/php-libvirt.spec index 0222f85..719d72e 100644 --- a/php-libvirt.spec +++ b/php-libvirt.spec @@ -57,6 +57,30 @@ Provides: %{?scl_prefix}php-libvirt = %{version}-%{release} Provides: %{?scl_prefix}php-libvirt%{?_isa} = %{version}-%{release} %endif +%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} +# Other third party repo stuff +Obsoletes: php53-libvirt <= %{version} +Obsoletes: php53u-libvirt <= %{version} +Obsoletes: php54-libvirt <= %{version} +Obsoletes: php54w-libvirt <= %{version} +%if "%{php_version}" > "5.5" +Obsoletes: php55u-libvirt <= %{version} +Obsoletes: php55w-libvirt <= %{version} +%endif +%if "%{php_version}" > "5.6" +Obsoletes: php56u-libvirt <= %{version} +Obsoletes: php56w-libvirt <= %{version} +%endif +%if "%{php_version}" > "7.0" +Obsoletes: php70u-libvirt <= %{version} +Obsoletes: php70w-libvirt <= %{version} +%endif +%if "%{php_version}" > "7.1" +Obsoletes: php71u-libvirt <= %{version} +Obsoletes: php71w-libvirt <= %{version} +%endif +%endif + # Filter shared private - always as libvirt-php.so is a very bad name %{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$} %{?filter_setup} -- cgit