[packages/tinyxml2] - updated to 11.0.0 (new soname)

qboosh qboosh at pld-linux.org
Fri Mar 21 20:23:02 CET 2025


commit 51d097c356ae09be8897315141ee29faf357f038
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Mar 21 20:11:08 2025 +0100

    - updated to 11.0.0 (new soname)

 tinyxml2.spec | 21 ++++++++-------------
 1 file changed, 8 insertions(+), 13 deletions(-)
---
diff --git a/tinyxml2.spec b/tinyxml2.spec
index dbb0a4f..201525b 100644
--- a/tinyxml2.spec
+++ b/tinyxml2.spec
@@ -5,13 +5,13 @@
 Summary:	Simple, small, efficient, C++ XML parser
 Summary(pl.UTF-8):	Prosty, mały, efektywny parser XML w C++
 Name:		tinyxml2
-Version:	8.1.0
+Version:	11.0.0
 Release:	1
 License:	BSD-like
 Group:		Libraries
 #Source0Download: https://github.com/leethomason/tinyxml2/releases
 Source0:	https://github.com/leethomason/tinyxml2/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	120a2a981d4dacdf82f1ee12074c3db8
+# Source0-md5:	e0fbd280045af095b26d2430d38f0c34
 URL:		https://github.com/leethomason/tinyxml2
 BuildRequires:	cmake >= 3.15
 BuildRequires:	libstdc++-devel
@@ -57,24 +57,19 @@ Statyczna biblioteka TinyXML-2.
 %build
 # note: .pc file creation expects include and lib dirs relative to CMAKE_INSTALL_PREFIX
 %if %{with static_libs}
-install -d build-static
-cd build-static
-%cmake .. \
+%cmake -B build-static \
 	-DCMAKE_INSTALL_INCLUDEDIR=include \
 	-DCMAKE_INSTALL_LIBDIR=%{_lib} \
 	-DBUILD_SHARED_LIBS=OFF
-%{__make}
-cd ..
+
+%{__make} -C build-static
 %endif
 
-install -d build
-cd build
-%cmake .. \
+%cmake -B build \
 	-DCMAKE_INSTALL_INCLUDEDIR=include \
 	-DCMAKE_INSTALL_LIBDIR=%{_lib}
 
-%{__make}
-cd ..
+%{__make} -C build
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -97,7 +92,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc readme.md
 %attr(755,root,root) %{_libdir}/libtinyxml2.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libtinyxml2.so.8
+%attr(755,root,root) %ghost %{_libdir}/libtinyxml2.so.11
 
 %files devel
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tinyxml2.git/commitdiff/51d097c356ae09be8897315141ee29faf357f038



More information about the pld-cvs-commit mailing list