From 05e2958d43ae930c9901d8b6734cfc2c0a0506535929712dfc6c7b32db5e9f5f Mon Sep 17 00:00:00 2001 From: Hans-Peter Jansen Date: Mon, 11 Jan 2021 22:30:19 +0000 Subject: [PATCH] Accepting request 862442 from home:dirkmueller:branches:devel:libraries:c_c++ - update to 1.11.4: * Add xml_node::remove_attributes and xml_node::remove_children * Add a way to customize floating point precision via xml_attribute::set and xml_text::set overloads * XPath parser now limits recursion depth which prevents stack overflow on malicious queries * Exported CMake target name changed to pugixml::pugixml; see subsequent patch releases * Regression bugfixes OBS-URL: https://build.opensuse.org/request/show/862442 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/pugixml?expand=0&rev=19 --- pugixml-1.10.tar.gz | 3 --- pugixml-1.11.4.tar.gz | 3 +++ pugixml.changes | 13 +++++++++++++ pugixml.spec | 12 ++++-------- 4 files changed, 20 insertions(+), 11 deletions(-) delete mode 100644 pugixml-1.10.tar.gz create mode 100644 pugixml-1.11.4.tar.gz diff --git a/pugixml-1.10.tar.gz b/pugixml-1.10.tar.gz deleted file mode 100644 index c365a8f..0000000 --- a/pugixml-1.10.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:55f399fbb470942410d348584dc953bcaec926415d3462f471ef350f29b5870a -size 381990 diff --git a/pugixml-1.11.4.tar.gz b/pugixml-1.11.4.tar.gz new file mode 100644 index 0000000..038bfbb --- /dev/null +++ b/pugixml-1.11.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ddf57b65fb860416979a3f0640c2ad45ddddbbafa82508ef0a0af3ce7061716 +size 386229 diff --git a/pugixml.changes b/pugixml.changes index 59a8542..25bdff2 100644 --- a/pugixml.changes +++ b/pugixml.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Mon Jan 11 22:08:11 UTC 2021 - Dirk Müller + +- update to 1.11.4: + * Add xml_node::remove_attributes and xml_node::remove_children + * Add a way to customize floating point precision via xml_attribute::set and + xml_text::set overloads + * XPath parser now limits recursion depth which prevents stack overflow on + malicious queries + * Exported CMake target name changed to pugixml::pugixml; see subsequent + patch releases + * Regression bugfixes + ------------------------------------------------------------------- Tue Feb 4 19:46:01 UTC 2020 - Antoine Belvire diff --git a/pugixml.spec b/pugixml.spec index 9b48f1d..6af3138 100644 --- a/pugixml.spec +++ b/pugixml.spec @@ -1,7 +1,7 @@ # # spec file for package pugixml # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,19 +18,18 @@ %define _libname libpugixml1 Name: pugixml -Version: 1.10 +Version: 1.11.4 Release: 0 Summary: Light-weight C++ XML Processing Library License: MIT Group: System/Libraries -URL: http://pugixml.org/ +URL: https://pugixml.org/ Source0: https://github.com/zeux/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz Patch1: pugixml-config.patch BuildRequires: cmake BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: pkgconfig -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description pugixml is a light-weight C++ XML processing library. It features: @@ -70,17 +69,15 @@ pugixml is a light-weight C++ XML processing library. It features: %build %cmake -make %{?_smp_mflags} +%make_build %install %cmake_install %post -n %{_libname} -p /sbin/ldconfig - %postun -n %{_libname} -p /sbin/ldconfig %files devel -%defattr(-,root,root,-) %doc readme.txt docs/* %{_includedir}/*.hpp %{_libdir}/cmake/* @@ -88,7 +85,6 @@ make %{?_smp_mflags} %{_libdir}/*.so %files -n %{_libname} -%defattr(-,root,root,-) %{_libdir}/libpugixml.so.* %changelog