From 4cf3f1bc48b1a0ec3a2c36e328c2c08d39bd951843b07345ddb1afa37be9bcad Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Tue, 1 Jun 2021 10:30:59 +0000 Subject: [PATCH] Accepting request 895426 from home:AndreasStieger:branches:devel:libraries:c_c++ tinyxml2 8.1.0 OBS-URL: https://build.opensuse.org/request/show/895426 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/tinyxml2?expand=0&rev=14 --- tinyxml2-8.0.0.tar.gz | 3 --- tinyxml2-8.1.0.tar.gz | 3 +++ tinyxml2.changes | 9 +++++++++ tinyxml2.spec | 16 ++++++++-------- 4 files changed, 20 insertions(+), 11 deletions(-) delete mode 100644 tinyxml2-8.0.0.tar.gz create mode 100644 tinyxml2-8.1.0.tar.gz diff --git a/tinyxml2-8.0.0.tar.gz b/tinyxml2-8.0.0.tar.gz deleted file mode 100644 index 7143949..0000000 --- a/tinyxml2-8.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6ce574fbb46751842d23089485ae73d3db12c1b6639cda7721bf3a7ee862012c -size 593833 diff --git a/tinyxml2-8.1.0.tar.gz b/tinyxml2-8.1.0.tar.gz new file mode 100644 index 0000000..a31623d --- /dev/null +++ b/tinyxml2-8.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:23c95af3b981cf9a56c7f669505832c93427cb684811bcb6c9311bd18fa9bc30 +size 619733 diff --git a/tinyxml2.changes b/tinyxml2.changes index 21fdcb9..a3f0d6d 100644 --- a/tinyxml2.changes +++ b/tinyxml2.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Tue May 25 20:51:54 UTC 2021 - Andreas Stieger + +- update to 8.1.0: + * Add support for files larger than ~2GB + * Updates to hex value partsing + * XMLPrinter: Fix indentation of first line when called with + !compactMode + ------------------------------------------------------------------- Mon Aug 17 11:42:49 UTC 2020 - Dirk Mueller diff --git a/tinyxml2.spec b/tinyxml2.spec index c1d341f..d745beb 100644 --- a/tinyxml2.spec +++ b/tinyxml2.spec @@ -1,7 +1,7 @@ # # spec file for package tinyxml2 # -# 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 @@ -19,14 +19,14 @@ %define so_version 8 %define lib_package lib%{name}-%{so_version} Name: tinyxml2 -Version: 8.0.0 +Version: 8.1.0 Release: 0 Summary: Basic XML parser in C++ License: Zlib Group: Development/Libraries/C and C++ URL: https://github.com/leethomason/tinyxml2 Source: https://github.com/leethomason/tinyxml2/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz -BuildRequires: cmake +BuildRequires: cmake >= 3.15 BuildRequires: gcc-c++ BuildRequires: pkgconfig @@ -66,7 +66,7 @@ developing applications that use libtinyxml2. %build %cmake -make %{?_smp_mflags} +%make_build %install %cmake_install @@ -74,22 +74,22 @@ find %{buildroot} -type f -name "*.la" -delete -print # /usr/lib/cmake is not owned by cmake; avoid any further conflicts if [ ! -d "%{buildroot}/%{_libdir}/cmake/%{name}" ]; then mkdir -p %{buildroot}/%{_libdir}/cmake/%{name} -mv %{buildroot}/usr/lib/cmake/tinyxml2 %{buildroot}/%{_libdir}/cmake/tinyxml2 +mv %{buildroot}%{_prefix}/lib/cmake/tinyxml2 %{buildroot}/%{_libdir}/cmake/tinyxml2 fi %check -make %{?_smp_mflags} test +%make_build test %post -n %{lib_package} -p /sbin/ldconfig %postun -n %{lib_package} -p /sbin/ldconfig %files -n %{lib_package} -%defattr(-,root,root) +%license LICENSE.txt %doc readme.md %{_libdir}/libtinyxml2.so.%{so_version}* %files devel -%defattr(-,root,root) +%license LICENSE.txt %{_includedir}/tinyxml2.h %{_libdir}/libtinyxml2.so %{_libdir}/pkgconfig/tinyxml2.pc