Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libmetalink for openSUSE:Factory checked in at 2025-09-30 17:39:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libmetalink (Old) and /work/SRC/openSUSE:Factory/.libmetalink.new.11973 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libmetalink" Tue Sep 30 17:39:12 2025 rev:9 rq:1307890 version:0.1.3 Changes: -------- --- /work/SRC/openSUSE:Factory/libmetalink/libmetalink.changes 2024-03-03 20:19:27.590131123 +0100 +++ /work/SRC/openSUSE:Factory/.libmetalink.new.11973/libmetalink.changes 2025-09-30 17:39:19.421537879 +0200 @@ -1,0 +2,7 @@ +Wed Sep 24 11:16:59 UTC 2025 - [email protected] + +- remove use of deprecated AM_PATH_XML2, fixed build with + libxml2 2.14 + * added libmetalink-remove-deprecated-AM_PATH_XML2-macro.patch + +------------------------------------------------------------------- New: ---- libmetalink-remove-deprecated-AM_PATH_XML2-macro.patch ----------(New B)---------- New: libxml2 2.14 * added libmetalink-remove-deprecated-AM_PATH_XML2-macro.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libmetalink.spec ++++++ --- /var/tmp/diff_new_pack.U4PFSg/_old 2025-09-30 17:39:20.489582673 +0200 +++ /var/tmp/diff_new_pack.U4PFSg/_new 2025-09-30 17:39:20.493582841 +0200 @@ -1,7 +1,7 @@ # # spec file for package libmetalink # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -23,9 +23,11 @@ Summary: Metalink Library License: MIT Group: System/Libraries -Url: https://launchpad.net/libmetalink +URL: https://launchpad.net/libmetalink Source: https://launchpad.net/libmetalink/trunk/libmetalink-%{version}/+download/%{name}-%{version}.tar.xz Patch0: libmetalink-autotools.patch +# https://github.com/metalink-dev/libmetalink/pull/4 +Patch1: libmetalink-remove-deprecated-AM_PATH_XML2-macro.patch BuildRequires: libtool BuildRequires: pkgconfig %if 0%{?suse_version} > 1310 @@ -67,7 +69,7 @@ Metalink XML files. %prep -%autosetup -p0 +%autosetup -p1 %build autoreconf -fiv ++++++ libmetalink-autotools.patch ++++++ --- /var/tmp/diff_new_pack.U4PFSg/_old 2025-09-30 17:39:20.533584519 +0200 +++ /var/tmp/diff_new_pack.U4PFSg/_new 2025-09-30 17:39:20.537584687 +0200 @@ -1,7 +1,7 @@ Index: configure.ac =================================================================== ---- configure.ac.orig -+++ configure.ac +--- a/configure.ac ++++ b/configure.ac @@ -22,9 +22,6 @@ AC_PREREQ(2.61) AC_INIT([libmetalink], [0.1.3], [[email protected]]) @@ -26,8 +26,8 @@ # Package version Index: lib/libexpat_metalink_parser.c =================================================================== ---- lib/libexpat_metalink_parser.c.orig -+++ lib/libexpat_metalink_parser.c +--- a/lib/libexpat_metalink_parser.c ++++ b/lib/libexpat_metalink_parser.c @@ -130,7 +130,7 @@ METALINK_PUBLIC metalink_parse_file(const char* filename, metalink_t** res) { @@ -39,8 +39,8 @@ r = metalink_parse_fp(docfp, res); Index: lib/Makefile.am =================================================================== ---- lib/Makefile.am.orig -+++ lib/Makefile.am +--- a/lib/Makefile.am ++++ b/lib/Makefile.am @@ -1,7 +1,7 @@ SUBDIRS = includes @@ -62,8 +62,8 @@ + @EXPAT_LIBS@ Index: test/Makefile.am =================================================================== ---- test/Makefile.am.orig -+++ test/Makefile.am +--- a/test/Makefile.am ++++ b/test/Makefile.am @@ -11,7 +11,7 @@ metalinktest_SOURCES = \ metalinktest_LDADD = ${top_builddir}/lib/libmetalink.la metalinktest_LDFLAGS = -static @CUNIT_LIBS@ ++++++ libmetalink-remove-deprecated-AM_PATH_XML2-macro.patch ++++++ >From 56075a3c5ee7f38a03d2a645f406dc0b8620efdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= <[email protected]> Date: Thu, 12 Oct 2023 12:19:16 +0000 Subject: [PATCH] remove use deprecated AM_PATH_XML2 aclocal macro MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove use deprecated AM_PATH_XML2 and use PKG_CHECK_MODULES and PKG_PROG_PKG_CONFIG aclocal macros. Signed-off-by: Tomasz Kłoczko <[email protected]> --- configure.ac | 7 ++++--- lib/Makefile.am | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) Index: libmetalink-0.1.3/configure.ac =================================================================== --- libmetalink-0.1.3.orig/configure.ac +++ libmetalink-0.1.3/configure.ac @@ -34,6 +34,7 @@ AC_CANONICAL_TARGET AM_INIT_AUTOMAKE() AC_CONFIG_MACRO_DIR([m4]) +PKG_PROG_PKG_CONFIG # Special host-dependent stuff case ${host} in @@ -89,10 +90,10 @@ if test "x$with_libexpat" = "xyes"; then fi if test "x$with_libxml2" = "xyes" && test "x$have_libexpat" != "xyes"; then - AM_PATH_XML2([2.6.24], [have_libxml2=yes]) - if test "x$have_libxml2" = "xyes"; then + PKG_CHECK_MODULES([XML], [libxml-2.0 >= 2.6.24], [ AC_DEFINE([HAVE_LIBXML2], [1], [Define to 1 if you have libxml2.]) - fi + have_libxml2=yes + ]) fi if test "x$have_libexpat" != "xyes" && test "x$have_libxml2" != "xyes"; then
