diff --git a/libvirt-python.spec b/libvirt-python.spec index eafc799..cb194d6 100644 --- a/libvirt-python.spec +++ b/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,20 +14,15 @@ Summary: The libvirt virtualization API python3 binding Name: libvirt-python -Version: 7.6.0 +Version: 7.8.0 Release: 1%{?dist} Source0: https://libvirt.org/sources/python/%{name}-%{version}.tar.gz Url: https://libvirt.org License: LGPLv2+ BuildRequires: libvirt-devel == %{version} BuildRequires: python3-devel -%if 0%{?rhel} == 7 -BuildRequires: python36-pytest -BuildRequires: python36-lxml -%else BuildRequires: python3-pytest BuildRequires: python3-lxml -%endif BuildRequires: gcc # Don't want provides for python shared objects @@ -68,18 +63,10 @@ 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 @@ -97,8 +84,10 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build %{python3_sitearch}/libvirtmod* %{python3_sitearch}/*egg-info - %changelog +* Fri Oct 1 2021 Daniel P. Berrangé - 7.8.0-1 +- Update to 7.8.0 release + * Mon Aug 2 2021 Daniel P. Berrangé - 7.6.0-1 - Update to 7.6.0 release diff --git a/sources b/sources index dec5457..9fba486 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libvirt-python-7.6.0.tar.gz) = 4fc5ad8d12739799f38a107533245b0ad51e5d101569e0b2ea9baf1ec0d99fd29d049e2a245977faa8ee0021fa07034a46ac8d2a3a8197ab86bb1b0515f829d3 +SHA512 (libvirt-python-7.8.0.tar.gz) = e50dacc8214849dc2fa752e21061826463753b912765c3186948c9d634c18f0be8b579acd7765878aea27b2cd6f65e7113a8f8b90791ad76c69834d4e947b6cd