diff --git a/tinyxml2-6.0.0-8c8293b.tar.gz b/tinyxml2-6.0.0-8c8293b.tar.gz deleted file mode 100644 index ce1d324..0000000 Binary files a/tinyxml2-6.0.0-8c8293b.tar.gz and /dev/null differ diff --git a/tinyxml2-9.0.0.tar.gz b/tinyxml2-9.0.0.tar.gz new file mode 100644 index 0000000..9da3f2b Binary files /dev/null and b/tinyxml2-9.0.0.tar.gz differ diff --git a/tinyxml2.spec b/tinyxml2.spec index ff6587b..71de95c 100644 --- a/tinyxml2.spec +++ b/tinyxml2.spec @@ -1,13 +1,10 @@ -%global commit 8c8293ba8969a46947606a93ff0cb5a083aab47a -%global shortcommit %(c=%{commit}; echo ${c:0:7}) - Name: tinyxml2 -Version: 6.0.0 -Release: 5 +Version: 9.0.0 +Release: 1 Summary: C++ XML parser License: zlib URL: https://github.com/leethomason/%{name} -Source0: https://github.com/leethomason/%{name}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz +Source0: https://github.com/leethomason/%{name}/archive/refs/tags/%{name}-%{version}.tar.gz BuildRequires: gcc-c++ cmake %description @@ -23,7 +20,7 @@ The devel package contains development files for tinyxml2.It provides header files and libraries for tinyxml2. %prep -%autosetup -n %{name}-%{commit} +%autosetup -n %{name}-%{version} chmod -c -x *.cpp *.h sed -i -e 's,lib/,${CMAKE_INSTALL_LIBDIR}/,g' CMakeLists.txt @@ -46,15 +43,17 @@ cd objdir %files %doc readme.md -%{_libdir}/lib%{name}.so.6.0.0 -%{_libdir}/lib%{name}.so.6 +%{_libdir}/lib%{name}.so* %files devel %{_includedir}/%{name}.h %{_libdir}/lib%{name}.so %{_libdir}/pkgconfig/%{name}.pc -%{_libdir}/cmake/%{name}/*.cmake +%{_libdir}/cmake/%{name}/* %changelog +* Wed Jun 07 2023 chenchen - 9.0.0-1 +- Upgrade to 9.0.0 + * Thu Nov 21 2019 zhujunhao - 6.0.0-5 - Initial package.