diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-09-15 12:01:01 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-09-15 12:01:01 +0200 |
commit | 53df686fbf624872447f7bcaa7e4e32eb8acf4f8 (patch) | |
tree | 369b55cd0db0c07ba0949c75883a1c4d32bc36e1 | |
parent | e2d1949ec004fc1bfd5c590f230e7b7ea16083fd (diff) |
PHP 7.1.0RC2 (base) + extension mass rebuild for new API
-rw-r--r-- | php-libvirt.spec | 24 |
1 files changed, 24 insertions, 0 deletions
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} |