SHA256
1
0
forked from pool/pugixml

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
This commit is contained in:
Hans-Peter Jansen 2021-01-11 22:30:19 +00:00 committed by Git OBS Bridge
parent 9590fac320
commit 05e2958d43
4 changed files with 20 additions and 11 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:55f399fbb470942410d348584dc953bcaec926415d3462f471ef350f29b5870a
size 381990

3
pugixml-1.11.4.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8ddf57b65fb860416979a3f0640c2ad45ddddbbafa82508ef0a0af3ce7061716
size 386229

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Mon Jan 11 22:08:11 UTC 2021 - Dirk Müller <dmueller@suse.com>
- 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 <antoine.belvire@opensuse.org> Tue Feb 4 19:46:01 UTC 2020 - Antoine Belvire <antoine.belvire@opensuse.org>

View File

@ -1,7 +1,7 @@
# #
# spec file for package pugixml # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -18,19 +18,18 @@
%define _libname libpugixml1 %define _libname libpugixml1
Name: pugixml Name: pugixml
Version: 1.10 Version: 1.11.4
Release: 0 Release: 0
Summary: Light-weight C++ XML Processing Library Summary: Light-weight C++ XML Processing Library
License: MIT License: MIT
Group: System/Libraries 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 Source0: https://github.com/zeux/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
Patch1: pugixml-config.patch Patch1: pugixml-config.patch
BuildRequires: cmake BuildRequires: cmake
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
pugixml is a light-weight C++ XML processing library. It features: 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 %build
%cmake %cmake
make %{?_smp_mflags} %make_build
%install %install
%cmake_install %cmake_install
%post -n %{_libname} -p /sbin/ldconfig %post -n %{_libname} -p /sbin/ldconfig
%postun -n %{_libname} -p /sbin/ldconfig %postun -n %{_libname} -p /sbin/ldconfig
%files devel %files devel
%defattr(-,root,root,-)
%doc readme.txt docs/* %doc readme.txt docs/*
%{_includedir}/*.hpp %{_includedir}/*.hpp
%{_libdir}/cmake/* %{_libdir}/cmake/*
@ -88,7 +85,6 @@ make %{?_smp_mflags}
%{_libdir}/*.so %{_libdir}/*.so
%files -n %{_libname} %files -n %{_libname}
%defattr(-,root,root,-)
%{_libdir}/libpugixml.so.* %{_libdir}/libpugixml.so.*
%changelog %changelog