diff options
Diffstat (limited to 'php-libvirt.spec')
-rw-r--r-- | php-libvirt.spec | 26 |
1 files changed, 9 insertions, 17 deletions
diff --git a/php-libvirt.spec b/php-libvirt.spec index bd9fbe0..fd1e5fd 100644 --- a/php-libvirt.spec +++ b/php-libvirt.spec @@ -30,17 +30,17 @@ %endif Name: %{?sub_prefix}php-libvirt -Version: 0.5.5 -Release: 5%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Version: 0.5.6 +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Summary: PHP language binding for Libvirt Group: Development/Libraries # libvirt-php is under the same terms as libvirt License: LGPLv2+ URL: http://libvirt.org/php -Source0: http://libvirt.org/sources/php/libvirt-php-%{version}.tar.gz +Source0: http://libvirt.org/sources/php/libvirt-php-%{version}.tar.xz -Patch0: libvirt-php8.patch +Patch0: libvirt-php5.patch BuildRequires: make BuildRequires: %{?dtsprefix}gcc @@ -56,18 +56,6 @@ Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} Requires: %{?scl_prefix}php(api) = %{php_core_api} %{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}} -%if "%{?packager}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} -%if "%{php_version}" > "7.3" -Obsoletes: php73-libvirt <= %{version} -%endif -%if "%{php_version}" > "7.4" -Obsoletes: php74-libvirt <= %{version} -%endif -%if "%{php_version}" > "8.0" -Obsoletes: php80-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} @@ -99,7 +87,7 @@ This package contain the document for php-libvirt. %prep %setup -q -n libvirt-php-%{version} -%patch0 -p1 -b .php8 +%patch0 -p1 -b .php5 %build @@ -152,6 +140,10 @@ rm %{buildroot}%{php_extdir}/%{extname}.la %changelog +* Wed Jun 15 2022 Remi Collet <remi@remirepo.net> - 0.5.6-1 +- Upgrade to 0.5.6 +- add patch allowing build with PHP 5 + * Wed Sep 01 2021 Remi Collet <remi@remirepo.net> - 0.5.5-5 - rebuild for 8.1.0RC1 |