SHA256
1
0
forked from pool/pugixml

Accepting request 862447 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/862447
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pugixml?expand=0&rev=10
This commit is contained in:
Dominique Leuenberger 2021-01-13 17:19:46 +00:00 committed by Git OBS Bridge
commit da75c33bc0
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>

View File

@ -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