From ba438a6c3dc997436686ccceec0f972fa632d22d Mon Sep 17 00:00:00 2001 From: Jiri Denemark Date: Fri, 17 Jul 2026 16:09:25 +0200 Subject: [PATCH] libvirt-python-12.5.0-1.el10 - Rebased to libvirt-python-12.5.0 (RHEL-156862) Resolves: RHEL-156862 --- .gitignore | 1 + ...ing-typed-parameter-conversion-hints.patch | 43 ------------------- libvirt-python.spec | 15 +++---- sources | 2 +- 4 files changed, 8 insertions(+), 53 deletions(-) delete mode 100644 libvirt-python-virDomainSaveParams-Add-missing-typed-parameter-conversion-hints.patch diff --git a/.gitignore b/.gitignore index 3a70a33..9eb3adf 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /libvirt_python-11.8.0.tar.gz /libvirt_python-11.9.0.tar.gz /libvirt_python-11.10.0.tar.gz +/libvirt_python-12.5.0.tar.gz diff --git a/libvirt-python-virDomainSaveParams-Add-missing-typed-parameter-conversion-hints.patch b/libvirt-python-virDomainSaveParams-Add-missing-typed-parameter-conversion-hints.patch deleted file mode 100644 index 50af1e6..0000000 --- a/libvirt-python-virDomainSaveParams-Add-missing-typed-parameter-conversion-hints.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 71db91de579b9c79bd3162b8499bb6d3e95073f3 Mon Sep 17 00:00:00 2001 -Message-ID: <71db91de579b9c79bd3162b8499bb6d3e95073f3.1769616469.git.jdenemar@redhat.com> -From: Peter Krempa -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 -(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 diff --git a/libvirt-python.spec b/libvirt-python.spec index 0d2e8b5..9b1c721 100644 --- a/libvirt-python.spec +++ b/libvirt-python.spec @@ -16,15 +16,13 @@ Summary: The libvirt virtualization API python3 binding Name: libvirt-python -Version: 11.10.0 -Release: 2%{?dist}%{?extra_release} +Version: 12.5.0 +Release: 1%{?dist}%{?extra_release} 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 License: LGPL-2.1-or-later BuildRequires: git -BuildRequires: libvirt-devel >= 11.10.0-2 +BuildRequires: libvirt-devel >= 12.5.0-1 BuildRequires: python3-devel BuildRequires: python3-pytest BuildRequires: python3-lxml @@ -44,7 +42,6 @@ of recent versions of Linux (and other OSes). %package -n python3-libvirt Summary: The libvirt virtualization API python3 binding Url: http://libvirt.org -License: LGPLv2+ %{?python_provide:%python_provide python3-libvirt} Provides: libvirt-python3 = %{version}-%{release} Obsoletes: libvirt-python3 <= 3.6.0-1%{?dist} @@ -58,9 +55,6 @@ of recent versions of Linux (and other OSes). %prep %autosetup -S git_am -N -n %{dist_name}-%{version} -%autopatch - - # Unset execute bit for example scripts; it can introduce spurious # RPM dependencies, like /usr/bin/python3 # for the -python3 package @@ -94,6 +88,9 @@ exit 1 %{python3_sitearch}/*egg-info %changelog +* Fri Jul 17 2026 Jiri Denemark - 12.5.0-1 +- Rebased to libvirt-python-12.5.0 (RHEL-156862) + * Wed Jan 28 2026 Jiri Denemark - 11.10.0-2 - virDomainSaveParams: Add missing typed parameter conversion hints (RHEL-142127) diff --git a/sources b/sources index bc75035..825e528 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libvirt_python-11.10.0.tar.gz) = aa0156face7766c8d2faa053ae8729059bce3041899e3f545e90683d70f2809c782eff15dc1bca42493dd79bc263523d21d3e671c7c3559f127e3002dc8aa24b +SHA512 (libvirt_python-12.5.0.tar.gz) = 113462df69bcfbbdebc14cac2b470ce1f182a45913cf5dad77e47c8056fb76cf5c9d60d14bb94c300597af6a4203fcd66fb7c8352ddb13c976de1bd487452da3