diff --git a/10.0.0.tar.gz b/10.0.0.tar.gz
new file mode 100644
index 0000000..2458ebc
--- /dev/null
+++ b/10.0.0.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3bdf15128ba16686e69bce256cc468e76c7b94ff2c7f391cc5ec09e40bff3839
+size 642421
diff --git a/tinyxml2-9.0.0.tar.gz b/tinyxml2-9.0.0.tar.gz
deleted file mode 100644
index 5a12741..0000000
--- a/tinyxml2-9.0.0.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:cc2f1417c308b1f6acc54f88eb70771a0bf65f76282ce5c40e54cfe52952702c
-size 619734
diff --git a/tinyxml2.changes b/tinyxml2.changes
index 46c4b64..8ca08bd 100644
--- a/tinyxml2.changes
+++ b/tinyxml2.changes
@@ -1,3 +1,11 @@
+-------------------------------------------------------------------
+Tue May  7 12:48:07 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
+
+- Update to release 10
+  * Added function XMLNode::ChildElementCount
+  * Fix assertion "_elementPool.CurrentAllocs() ==
+    _elementPool.Untracked() failed"
+
 -------------------------------------------------------------------
 Sat Dec 11 18:58:30 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
 
diff --git a/tinyxml2.spec b/tinyxml2.spec
index 90e4084..27a9d73 100644
--- a/tinyxml2.spec
+++ b/tinyxml2.spec
@@ -1,7 +1,7 @@
 #
 # spec file for package tinyxml2
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,16 +16,16 @@
 #
 
 
-%define so_version 9
+%define so_version 10
 %define lib_package lib%{name}-%{so_version}
 Name:           tinyxml2
-Version:        9.0.0
+Version:        10.0.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
+Source:         https://github.com/leethomason/tinyxml2/archive/%{version}.tar.gz
 BuildRequires:  cmake >= 3.15
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig
@@ -62,7 +62,7 @@ Contains libraries and header files for
 developing applications that use libtinyxml2.
 
 %prep
-%setup -q
+%autosetup -p1
 
 %build
 %cmake
@@ -80,8 +80,7 @@ fi
 %check
 %make_build test
 
-%post -n %{lib_package} -p /sbin/ldconfig
-%postun -n %{lib_package} -p /sbin/ldconfig
+%ldconfig_scriptlets -n %{lib_package}
 
 %files -n %{lib_package}
 %license LICENSE.txt