From 7915ffda608c836b01b657c980c0992136ecd9e8 Mon Sep 17 00:00:00 2001 From: Jiri Denemark Date: Mon, 31 May 2021 19:10:03 +0200 Subject: [PATCH] libvirt-python-7.3.0-1.el9 - Rebased to libvirt-python-7.3.0 (rhbz#1950951) - The rebase also fixes the following bugs: rhbz#1916800, rhbz#1950603, rhbz#1950951 - RHEL: Add gating.yaml for RHEL9 (rhbz#1950603) Resolves: rhbz#1916800, rhbz#1950603, rhbz#1950951 --- gating.yaml | 6 ++++++ libvirt-python.spec | 29 ++++++++++++++++++++--------- sources | 2 +- 3 files changed, 27 insertions(+), 10 deletions(-) create mode 100644 gating.yaml diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..5f12f9f --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - rhel-9 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: libvirt-ci.libvirt-python.brew-build.gating.x86_64.tier1.functional} diff --git a/libvirt-python.spec b/libvirt-python.spec index 8e12b2e..ceb7372 100644 --- a/libvirt-python.spec +++ b/libvirt-python.spec @@ -14,18 +14,19 @@ Summary: The libvirt virtualization API python3 binding Name: libvirt-python -Version: 7.0.0 -Release: 3%{?dist} -Source0: http://libvirt.org/sources/python/%{name}-%{version}.tar.gz -Url: http://libvirt.org +Version: 7.3.0 +Release: 1%{?dist}%{?extra_release} +Source0: https://libvirt.org/sources/python/%{name}-%{version}.tar.gz +Url: https://libvirt.org License: LGPLv2+ -BuildRequires: libvirt-devel == %{version} +BuildRequires: git +BuildRequires: libvirt-devel >= 7.3.0-1 BuildRequires: python3-devel %if 0%{?rhel} == 7 -BuildRequires: python36-nose +BuildRequires: python36-pytest BuildRequires: python36-lxml %else -BuildRequires: python3-nose +BuildRequires: python3-pytest BuildRequires: python3-lxml %endif BuildRequires: gcc @@ -55,7 +56,12 @@ supplied by the libvirt library to use the virtualization capabilities of recent versions of Linux (and other OSes). %prep -%setup -q +%autosetup -S git_am -N + +git config gc.auto 0 + +%autopatch + # Unset execute bit for example scripts; it can introduce spurious # RPM dependencies, like /usr/bin/python3 @@ -97,8 +103,13 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build %{python3_sitearch}/libvirtmod* %{python3_sitearch}/*egg-info - %changelog +* Mon May 31 2021 Jiri Denemark - 7.3.0-1 +- Rebased to libvirt-python-7.3.0 (rhbz#1950951) +- The rebase also fixes the following bugs: + rhbz#1916800, rhbz#1950603, rhbz#1950951 +- RHEL: Add gating.yaml for RHEL9 (rhbz#1950603) + * Fri Apr 16 2021 Mohan Boddu - 7.0.0-3 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 diff --git a/sources b/sources index 52a3351..fa56079 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libvirt-python-7.0.0.tar.gz) = c56bc53da06a81d330389f684df204d0ae8edb28127eccd81ac551342a0965341d20832f6e2b044e02e9217320349f6f5cb36098c5cc46508a4026fb1e59c4ac +SHA512 (libvirt-python-7.3.0.tar.gz) = a99c0d7258364464df6a68e5fee3137daab3e6ef0dc8924b95a2b7bb69bcaf221d6be17d004ec994e9fae223db920360352b5b32945586ecc1407cb6bd86682a