1
0
forked from jengelh/tinyxml2

tinyxml2 11.0.0

This commit is contained in:
2025-03-16 10:12:43 +01:00
parent 063857e54b
commit 95c20e8a65
4 changed files with 15 additions and 8 deletions

BIN
10.1.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
11.0.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Mar 16 09:10:55 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 11
* Bump version to address ABI incompatibility between 10.0
and 10.1 both producing the same SONAME.
-------------------------------------------------------------------
Sat Mar 8 20:25:46 UTC 2025 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -16,10 +16,10 @@
#
%define so_version 10
%define so_version 11
%define lib_package lib%{name}-%{so_version}
Name: tinyxml2
Version: 10.1.0
Version: 11.0.0
Release: 0
Summary: Basic XML parser in C++
License: Zlib
@@ -28,7 +28,7 @@ URL: https://github.com/leethomason/tinyxml2
Source: https://github.com/leethomason/tinyxml2/archive/%{version}.tar.gz
BuildRequires: cmake >= 3.15
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: pkg-config
%description
TinyXML is a feature-bounded XML parser in C++ that can be integrated
@@ -73,8 +73,8 @@ developing applications that use libtinyxml2.
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}%{_prefix}/lib/cmake/tinyxml2 %{buildroot}/%{_libdir}/cmake/tinyxml2
mkdir -pv %{buildroot}/%{_libdir}/cmake/%{name}
mv -v %{buildroot}%{_prefix}/lib/cmake/tinyxml2 %{buildroot}/%{_libdir}/cmake/tinyxml2
fi
%check