import CS libvirt-python-11.10.0-2.el9
This commit is contained in:
parent
1d3e599f88
commit
1dbe27e4ff
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/libvirt-python-10.10.0.tar.gz
|
SOURCES/libvirt_python-11.10.0.tar.gz
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
5a792b1c17c1a9c5c1728d5652763d06a63fd0e9 SOURCES/libvirt-python-10.10.0.tar.gz
|
2e67e0ab606fd1e453a9464141a02198277dfb41 SOURCES/libvirt_python-11.10.0.tar.gz
|
||||||
|
|||||||
@ -0,0 +1,43 @@
|
|||||||
|
From e58223a971eca4722bf9a84a66702f18206d961e Mon Sep 17 00:00:00 2001
|
||||||
|
Message-ID: <e58223a971eca4722bf9a84a66702f18206d961e.1769616391.git.jdenemar@redhat.com>
|
||||||
|
From: Peter Krempa <pkrempa@redhat.com>
|
||||||
|
Date: Mon, 19 Jan 2026 08:36:21 +0100
|
||||||
|
Subject: [PATCH] virDomainSaveParams: Add missing typed parameter conversion
|
||||||
|
hints
|
||||||
|
|
||||||
|
Add the missing hints for:
|
||||||
|
- VIR_DOMAIN_SAVE_PARAM_IMAGE_FORMAT
|
||||||
|
- VIR_DOMAIN_SAVE_PARAM_PARALLEL_CHANNELS
|
||||||
|
|
||||||
|
The latter of the above is important as the default conversion of
|
||||||
|
numbers is to 'ulong' if a hint is missing but the parallel channel
|
||||||
|
counts is accepted as 'int' by libvirt.
|
||||||
|
|
||||||
|
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
|
||||||
|
(cherry picked from commit 7f92321ff1045097b9079d05350d6d2ce92a183f)
|
||||||
|
|
||||||
|
https://issues.redhat.com/browse/RHEL-142127 [rhel-10.2]
|
||||||
|
https://issues.redhat.com/browse/RHEL-144009 [rhel-9.8]
|
||||||
|
---
|
||||||
|
libvirt-override.c | 6 ++++++
|
||||||
|
1 file changed, 6 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/libvirt-override.c b/libvirt-override.c
|
||||||
|
index 866b8a7..b3e2d8d 100644
|
||||||
|
--- a/libvirt-override.c
|
||||||
|
+++ b/libvirt-override.c
|
||||||
|
@@ -10842,6 +10842,12 @@ libvirt_virDomainSetLaunchSecurityState(PyObject *self ATTRIBUTE_UNUSED,
|
||||||
|
static virPyTypedParamsHint virPyDomainSaveParams[] = {
|
||||||
|
{ VIR_DOMAIN_SAVE_PARAM_FILE, VIR_TYPED_PARAM_STRING },
|
||||||
|
{ VIR_DOMAIN_SAVE_PARAM_DXML, VIR_TYPED_PARAM_STRING },
|
||||||
|
+#ifdef VIR_DOMAIN_SAVE_PARAM_IMAGE_FORMAT
|
||||||
|
+ { VIR_DOMAIN_SAVE_PARAM_IMAGE_FORMAT, VIR_TYPED_PARAM_STRING },
|
||||||
|
+#endif
|
||||||
|
+#ifdef VIR_DOMAIN_SAVE_PARAM_PARALLEL_CHANNELS
|
||||||
|
+ { VIR_DOMAIN_SAVE_PARAM_PARALLEL_CHANNELS, VIR_TYPED_PARAM_INT },
|
||||||
|
+#endif
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
2.52.0
|
||||||
@ -12,15 +12,19 @@
|
|||||||
%define supported_platform 0
|
%define supported_platform 0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%define dist_name libvirt_python
|
||||||
|
|
||||||
Summary: The libvirt virtualization API python3 binding
|
Summary: The libvirt virtualization API python3 binding
|
||||||
Name: libvirt-python
|
Name: libvirt-python
|
||||||
Version: 10.10.0
|
Version: 11.10.0
|
||||||
Release: 1%{?dist}%{?extra_release}
|
Release: 2%{?dist}%{?extra_release}
|
||||||
Source0: https://libvirt.org/sources/python/%{name}-%{version}.tar.gz
|
Source0: https://libvirt.org/sources/python/%{dist_name}-%{version}.tar.gz
|
||||||
|
Patch1: libvirt-python-virDomainSaveParams-Add-missing-typed-parameter-conversion-hints.patch
|
||||||
|
|
||||||
Url: https://libvirt.org
|
Url: https://libvirt.org
|
||||||
License: LGPL-2.1-or-later
|
License: LGPL-2.1-or-later
|
||||||
BuildRequires: git
|
BuildRequires: git
|
||||||
BuildRequires: libvirt-devel >= 10.10.0-2
|
BuildRequires: libvirt-devel >= 11.10.0-2
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-pytest
|
BuildRequires: python3-pytest
|
||||||
BuildRequires: python3-lxml
|
BuildRequires: python3-lxml
|
||||||
@ -52,7 +56,7 @@ supplied by the libvirt library to use the virtualization capabilities
|
|||||||
of recent versions of Linux (and other OSes).
|
of recent versions of Linux (and other OSes).
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -S git_am -N
|
%autosetup -S git_am -N -n %{dist_name}-%{version}
|
||||||
|
|
||||||
%autopatch
|
%autopatch
|
||||||
|
|
||||||
@ -90,6 +94,18 @@ exit 1
|
|||||||
%{python3_sitearch}/*egg-info
|
%{python3_sitearch}/*egg-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jan 28 2026 Jiri Denemark <jdenemar@redhat.com> - 11.10.0-2
|
||||||
|
- virDomainSaveParams: Add missing typed parameter conversion hints (RHEL-144009)
|
||||||
|
|
||||||
|
* Mon Jan 5 2026 Jiri Denemark <jdenemar@redhat.com> - 11.10.0-1
|
||||||
|
- Rebased to libvirt-python-11.10.0 (RHEL-118198)
|
||||||
|
|
||||||
|
* Tue Nov 11 2025 Jiri Denemark <jdenemar@redhat.com> - 11.9.0-1
|
||||||
|
- Rebased to libvirt-python-11.9.0 (RHEL-118198)
|
||||||
|
|
||||||
|
* Tue Oct 21 2025 Jiri Denemark <jdenemar@redhat.com> - 11.8.0-1
|
||||||
|
- Rebased to libvirt-python-11.8.0 (RHEL-118198)
|
||||||
|
|
||||||
* Thu Dec 19 2024 Jiri Denemark <jdenemar@redhat.com> - 10.10.0-1
|
* Thu Dec 19 2024 Jiri Denemark <jdenemar@redhat.com> - 10.10.0-1
|
||||||
- Rebased to libvirt-python-10.10.0 (RHEL-50576)
|
- Rebased to libvirt-python-10.10.0 (RHEL-50576)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user