Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package pugixml for openSUSE:Factory checked in at 2026-07-26 11:29:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pugixml (Old) and /work/SRC/openSUSE:Factory/.pugixml.new.2004 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pugixml" Sun Jul 26 11:29:45 2026 rev:16 rq:1367749 version:1.16 Changes: -------- --- /work/SRC/openSUSE:Factory/pugixml/pugixml.changes 2025-01-24 13:41:09.928543352 +0100 +++ /work/SRC/openSUSE:Factory/.pugixml.new.2004/pugixml.changes 2026-07-26 11:32:23.966826676 +0200 @@ -1,0 +2,46 @@ +Thu Jul 23 18:12:06 UTC 2026 - Nassim Lhadj <[email protected]> + +- Update to version 1.16 + - Behavior changes: + * Elements that have a single empty PCDATA child are now printed + as empty element tags (unless format_no_empty_element_tags is used) + - Improvements: + * "PUGIXML_CHARCONV_FLOAT" option can be enabled to switch floating + point conversions to <charconv>; this requires C++17, makes the + conversions locale-independent and can improve performance + * Add "xml_node::ensure_child" and "xml_node::ensure_attribute" that + return the child/attribute with the specified name, adding one if + it does not exist + * Improve performance of searching for nodes and attributes by name + * Loading a document from an empty buffer no longer performs unnecessary + memory allocations + - XPath improvements: + * Improve performance of queries that evaluate or compare attribute values + for example like "@attr > 5" + * Improve performance of queries that select nodes and attributes by name + - Bug fixes: + * Fix stack overflow when removing subtrees with extremely deep nesting + * Fix integer overflows that could lead to crashes when loading very + large (1+ GB) documents on 32-bit platforms in PUGIXML_WCHAR_MODE + * Fix null pointer dereference when copying xpath_variable_set objects + that contain string variables with unassigned values + - CMake improvements: + * Apple frameworks built with "PUGIXML_BUILD_APPLE_FRAMEWORK" now + include framework headers + * "PUGIXML_INSTALL_SOURCE" option can be used to install pugixml.cpp + (useful for header-only mode) + - Compatibility improvements: + * Add project files and NuGet packages for Visual Studio 2026 + * Fix compatibility with C++20 modules when including pugixml.hpp + in the global module fragment + * Fix clang/gcc warnings -Wextra-semi-stmt, -Wsign-conversion and + -Wuninitialized (GCC16) + * Fix compilation for Embarcadero C++ XE5 + * Work around several static analysis false positives +- Drop pugixml-config.patch; upstream now automatically enables + "PUGIXML_HAS_LONG_LONG" when compiling with C++11 or newer +- Enable "PUGIXML_CHARCONV_FLOAT" support (Force it on 15.x by forcing GCC++14 + as the feature requires C++17) +- Remove path tweak for Leap 15.3 and older as they are EOL versions + +------------------------------------------------------------------- Old: ---- pugixml-1.15.tar.gz pugixml-config.patch New: ---- pugixml-1.16.tar.gz ----------(Old B)---------- Old: * Work around several static analysis false positives - Drop pugixml-config.patch; upstream now automatically enables "PUGIXML_HAS_LONG_LONG" when compiling with C++11 or newer ----------(Old E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pugixml.spec ++++++ --- /var/tmp/diff_new_pack.Mnwjxm/_old 2026-07-26 11:32:24.434842797 +0200 +++ /var/tmp/diff_new_pack.Mnwjxm/_new 2026-07-26 11:32:24.438842935 +0200 @@ -1,7 +1,7 @@ # # spec file for package pugixml # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2026 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 @@ -16,19 +16,23 @@ # +# PUGIXML_CHARCONV_FLOAT requires C++17 +%if 0%{?suse_version} < 1600 +%global force_gcc_version 14 +%endif + %define _libname libpugixml1 Name: pugixml -Version: 1.15 +Version: 1.16 Release: 0 Summary: Light-weight C++ XML Processing Library License: MIT Group: System/Libraries URL: https://pugixml.org/ Source0: https://github.com/zeux/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz -Patch1: pugixml-config.patch BuildRequires: cmake BuildRequires: fdupes -BuildRequires: gcc-c++ +BuildRequires: gcc%{?force_gcc_version}-c++ BuildRequires: pkgconfig %description @@ -65,11 +69,20 @@ conversions %prep -%autosetup -p1 +%autosetup %build -%cmake -DPUGIXML_BUILD_TESTS=ON -%make_build +%if 0%{?force_gcc_version} +export CC="gcc-%{?force_gcc_version}" +export CXX="g++-%{?force_gcc_version}" +%endif + +%cmake \ + -DCMAKE_CXX_STANDARD=17 \ + -DPUGIXML_BUILD_TESTS=ON \ + -DPUGIXML_CHARCONV_FLOAT=ON + +%cmake_build %install %cmake_install @@ -78,10 +91,6 @@ %postun -n %{_libname} -p /sbin/ldconfig %check -%if 0%{?suse_version} <= 1500 && 0%{?sle_version} <= 150300 -# Tweak path to find libpugixml.so.1 for Leap 15.3 and older -export LD_LIBRARY_PATH="$PWD/build" -%endif %ctest %files devel ++++++ pugixml-1.15.tar.gz -> pugixml-1.16.tar.gz ++++++ ++++ 4039 lines of diff (skipped)
