import libvirt-python-7.9.0-1.el9
This commit is contained in:
parent
03931a4567
commit
1acecae0cd
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/libvirt-python-7.6.0.tar.gz
|
SOURCES/libvirt-python-7.9.0.tar.gz
|
||||||
|
@ -1 +1 @@
|
|||||||
78b00edb20ea01ac8fb860b02db1462063ebd4c2 SOURCES/libvirt-python-7.6.0.tar.gz
|
332d2ddc003949476d59bf6e51b30fd68e142b77 SOURCES/libvirt-python-7.9.0.tar.gz
|
||||||
|
@ -3,8 +3,8 @@
|
|||||||
# This spec file assumes you are building on a Fedora or RHEL version
|
# 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
|
# 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
|
# or versions, but no effort will be made to ensure that going forward
|
||||||
%define min_rhel 7
|
%define min_rhel 8
|
||||||
%define min_fedora 29
|
%define min_fedora 33
|
||||||
|
|
||||||
%if (0%{?fedora} && 0%{?fedora} >= %{min_fedora}) || (0%{?rhel} && 0%{?rhel} >= %{min_rhel})
|
%if (0%{?fedora} && 0%{?fedora} >= %{min_fedora}) || (0%{?rhel} && 0%{?rhel} >= %{min_rhel})
|
||||||
%define supported_platform 1
|
%define supported_platform 1
|
||||||
@ -14,21 +14,16 @@
|
|||||||
|
|
||||||
Summary: The libvirt virtualization API python3 binding
|
Summary: The libvirt virtualization API python3 binding
|
||||||
Name: libvirt-python
|
Name: libvirt-python
|
||||||
Version: 7.6.0
|
Version: 7.9.0
|
||||||
Release: 1%{?dist}%{?extra_release}
|
Release: 1%{?dist}%{?extra_release}
|
||||||
Source0: https://libvirt.org/sources/python/%{name}-%{version}.tar.gz
|
Source0: https://libvirt.org/sources/python/%{name}-%{version}.tar.gz
|
||||||
Url: https://libvirt.org
|
Url: https://libvirt.org
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
BuildRequires: git
|
BuildRequires: git
|
||||||
BuildRequires: libvirt-devel >= 7.6.0-1
|
BuildRequires: libvirt-devel >= 7.9.0-1
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
%if 0%{?rhel} == 7
|
|
||||||
BuildRequires: python36-pytest
|
|
||||||
BuildRequires: python36-lxml
|
|
||||||
%else
|
|
||||||
BuildRequires: python3-pytest
|
BuildRequires: python3-pytest
|
||||||
BuildRequires: python3-lxml
|
BuildRequires: python3-lxml
|
||||||
%endif
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
|
|
||||||
# Don't want provides for python shared objects
|
# Don't want provides for python shared objects
|
||||||
@ -74,18 +69,10 @@ echo "This RPM requires either Fedora >= %{min_fedora} or RHEL >= %{min_rhel}"
|
|||||||
exit 1
|
exit 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?fedora} || 0%{?rhel} >= 8
|
|
||||||
%py3_build
|
%py3_build
|
||||||
%else
|
|
||||||
CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if 0%{?fedora} || 0%{?rhel} >= 8
|
|
||||||
%py3_install
|
%py3_install
|
||||||
%else
|
|
||||||
%{__python3} setup.py install --skip-build --root=%{buildroot}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__python3} setup.py test
|
%{__python3} setup.py test
|
||||||
@ -104,6 +91,12 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build
|
|||||||
%{python3_sitearch}/*egg-info
|
%{python3_sitearch}/*egg-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 11 2021 Jiri Denemark <jdenemar@redhat.com> - 7.9.0-1
|
||||||
|
- Rebased to libvirt-python-7.9.0 (rhbz#2001522)
|
||||||
|
|
||||||
|
* Mon Oct 18 2021 Jiri Denemark <jdenemar@redhat.com> - 7.8.0-1
|
||||||
|
- Rebased to libvirt-python-7.8.0 (rhbz#2001522)
|
||||||
|
|
||||||
* Thu Aug 12 2021 Jiri Denemark <jdenemar@redhat.com> - 7.6.0-1
|
* Thu Aug 12 2021 Jiri Denemark <jdenemar@redhat.com> - 7.6.0-1
|
||||||
- Rebased to libvirt-python-7.6.0 (rhbz#1950951)
|
- Rebased to libvirt-python-7.6.0 (rhbz#1950951)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user