From 3288fc5c7ad5c742fdd011fa7cddc24d718e0fe9 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 10 May 2022 03:08:06 -0400 Subject: [PATCH] import libvirt-python-8.0.0-1.module+el8.6.0+14480+c0a3aa0f --- .gitignore | 2 +- .libvirt-python.metadata | 2 +- SPECS/libvirt-python.spec | 45 +++++++++++++++++++++------------------ 3 files changed, 26 insertions(+), 23 deletions(-) diff --git a/.gitignore b/.gitignore index ec5cd97..c9f5fd6 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/libvirt-python-6.0.0.tar.gz +SOURCES/libvirt-python-8.0.0.tar.gz diff --git a/.libvirt-python.metadata b/.libvirt-python.metadata index 7d45412..ade738c 100644 --- a/.libvirt-python.metadata +++ b/.libvirt-python.metadata @@ -1 +1 @@ -174243ab59bddbbd72af141cdd4f5df3ba3a5be6 SOURCES/libvirt-python-6.0.0.tar.gz +5bb7f09b2be7874f0badc5699660fe3891e7b479 SOURCES/libvirt-python-8.0.0.tar.gz diff --git a/SPECS/libvirt-python.spec b/SPECS/libvirt-python.spec index c859711..8c8f6d9 100644 --- a/SPECS/libvirt-python.spec +++ b/SPECS/libvirt-python.spec @@ -3,8 +3,8 @@ # This spec file assumes you are building on a Fedora or RHEL version # that's still supported by the vendor. It may work on other distros # or versions, but no effort will be made to ensure that going forward -%define min_rhel 7 -%define min_fedora 29 +%define min_rhel 8 +%define min_fedora 33 %if (0%{?fedora} && 0%{?fedora} >= %{min_fedora}) || (0%{?rhel} && 0%{?rhel} >= %{min_rhel}) %define supported_platform 1 @@ -14,21 +14,16 @@ Summary: The libvirt virtualization API python3 binding Name: libvirt-python -Version: 6.0.0 +Version: 8.0.0 Release: 1%{?dist}%{?extra_release} -Source0: http://libvirt.org/sources/python/%{name}-%{version}.tar.gz -Url: http://libvirt.org +Source0: https://libvirt.org/sources/python/%{name}-%{version}.tar.gz +Url: https://libvirt.org License: LGPLv2+ BuildRequires: git -BuildRequires: libvirt-devel >= 6.0.0-1 +BuildRequires: libvirt-devel >= 8.0.0-1 BuildRequires: python3-devel -%if 0%{?rhel} == 7 -BuildRequires: python36-nose -BuildRequires: python36-lxml -%else -BuildRequires: python3-nose +BuildRequires: python3-pytest BuildRequires: python3-lxml -%endif BuildRequires: gcc # Don't want provides for python shared objects @@ -74,24 +69,16 @@ echo "This RPM requires either Fedora >= %{min_fedora} or RHEL >= %{min_rhel}" exit 1 %endif -%if 0%{?fedora} || 0%{?rhel} >= 8 %py3_build -%else -CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build -%endif %install -%if 0%{?fedora} || 0%{?rhel} >= 8 %py3_install -%else -%{__python3} setup.py install --skip-build --root=%{buildroot} -%endif %check %{__python3} setup.py test %files -n python3-libvirt -%doc ChangeLog AUTHORS NEWS README COPYING COPYING.LESSER examples/ +%doc ChangeLog AUTHORS README COPYING COPYING.LESSER examples/ %{python3_sitearch}/libvirt.py* %{python3_sitearch}/libvirtaio.py* %{python3_sitearch}/libvirt_qemu.py* @@ -104,6 +91,22 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build %{python3_sitearch}/*egg-info %changelog +* Fri Jan 14 2022 Jiri Denemark - 8.0.0-1 +- Rebased to libvirt-python-8.0.0 (rhbz#2012806) + +* Fri Dec 3 2021 Jiri Denemark - 7.10.0-1 +- Rebased to libvirt-python-7.10.0 (rhbz#2012806) + +* Thu Nov 4 2021 Jiri Denemark - 7.9.0-1 +- Rebased to libvirt-python-7.9.0 (rhbz#2012806) + +* Wed Oct 20 2021 Jiri Denemark - 7.8.0-1 +- Rebased to libvirt-python-7.8.0 (rhbz#2012806) + +* Thu Sep 2 2021 Danilo C. L. de Paula - 7.6.0-1.el8 +- Resolves: bz#2000225 + (Rebase virt:rhel module:stream based on AV-8.6) + * Mon Apr 27 2020 Danilo C. L. de Paula - 6.0.0 - Resolves: bz#1810193 (Upgrade components in virt:rhel module:stream for RHEL-8.3 release)