diff --git a/0001-osinfo-Make-xmlError-struct-constant-in-propagate_li.patch b/0001-osinfo-Make-xmlError-struct-constant-in-propagate_li.patch deleted file mode 100644 index fe82e40..0000000 --- a/0001-osinfo-Make-xmlError-struct-constant-in-propagate_li.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 2a23a33b06fab59b351358fba1a4969902217b58 Mon Sep 17 00:00:00 2001 -From: Michal Privoznik -Date: Mon, 27 Nov 2023 15:11:45 +0100 -Subject: [PATCH] osinfo: Make xmlError struct constant in - propagate_libxml_error() - -In libxml2 commit v2.12.0~14 the API changed so that -xmlGetLastError() returns pointer to a constant xmlError struct. -Reflect this change in our code. - -Signed-off-by: Michal Privoznik ---- - osinfo/osinfo_install_script.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/osinfo/osinfo_install_script.c b/osinfo/osinfo_install_script.c -index 5800f37..303245a 100644 ---- a/osinfo/osinfo_install_script.c -+++ b/osinfo/osinfo_install_script.c -@@ -769,7 +769,7 @@ static void propagate_libxml_error(GError **error, const char *format, ...) G_GN - - static void propagate_libxml_error(GError **error, const char *format, ...) - { -- xmlErrorPtr err = xmlGetLastError(); -+ const xmlError *err = xmlGetLastError(); - char *prefix; - va_list ap; - --- -2.45.1 - diff --git a/libosinfo-1.11.0.tar.xz b/libosinfo-1.11.0.tar.xz deleted file mode 100644 index e512b30..0000000 --- a/libosinfo-1.11.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1bf96eec9e1460f3d1a713163cca1ff0d480a3490b50899292f14548b3a96b60 -size 303944 diff --git a/libosinfo-1.12.0.tar.xz b/libosinfo-1.12.0.tar.xz new file mode 100644 index 0000000..e101b4f --- /dev/null +++ b/libosinfo-1.12.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ad8557ece26793da43d26de565e3d68ce2ee6bfb8d0113b7cc7dfe07f6bfc6b6 +size 307984 diff --git a/libosinfo.changes b/libosinfo.changes index b9809bf..67d7997 100644 --- a/libosinfo.changes +++ b/libosinfo.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon Dec 2 11:20:36 MST 2024 - carnold@suse.com + +- Update to version 1.12.0 (jsc#PED-8910) + * Some memory leak fixes + * Adapt to change in libxml2 + * Several CI improvements + * Several translations improvements +- Drop 0001-osinfo-Make-xmlError-struct-constant-in-propagate_li.patch + ------------------------------------------------------------------- Sun May 26 10:18:24 UTC 2024 - Christophe Marin diff --git a/libosinfo.spec b/libosinfo.spec index 882b55f..db4155f 100644 --- a/libosinfo.spec +++ b/libosinfo.spec @@ -20,15 +20,14 @@ %define with_lang 1 Name: libosinfo -Version: 1.11.0 +Version: 1.12.0 Release: 0 Summary: Operating system and hypervisor information management library License: GPL-2.0-or-later AND LGPL-2.1-or-later Group: Development/Libraries/C and C++ URL: https://releases.pagure.org/libosinfo Source0: %{url}/%{name}-%{version}.tar.xz -# PATCH-FIX-UPSTREAM -- libxml 2.12 compatibility -Patch0: 0001-osinfo-Make-xmlError-struct-constant-in-propagate_li.patch + BuildRequires: gtk-doc BuildRequires: hwdata BuildRequires: libcurl-devel