diff --git a/tinyxml2-6.0.0-8c8293b.tar.gz b/tinyxml2.8.0.0.tar.gz similarity index 36% rename from tinyxml2-6.0.0-8c8293b.tar.gz rename to tinyxml2.8.0.0.tar.gz index ce1d32491cfbc69924cacb84ceab4509552e76b4..34993c5ed28df6c6cda5bfc4612c3f800bebda5e 100644 Binary files a/tinyxml2-6.0.0-8c8293b.tar.gz and b/tinyxml2.8.0.0.tar.gz differ diff --git a/tinyxml2.spec b/tinyxml2.spec index ff6587b9d4fe06eeeb2cc2e3bdf4a33f6f7769a8..8a4f6f1ec011af01bb511c616fec0f866cc38eec 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: 8.0.0 +Release: 0 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 +Source: tinyxml2.8.0.0.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,8 +43,8 @@ cd objdir %files %doc readme.md -%{_libdir}/lib%{name}.so.6.0.0 -%{_libdir}/lib%{name}.so.6 +%{_libdir}/lib%{name}.so.8.0.0 +%{_libdir}/lib%{name}.so.8 %files devel %{_includedir}/%{name}.h @@ -56,5 +53,8 @@ cd objdir %{_libdir}/cmake/%{name}/*.cmake %changelog +* Fri May 22 2020 SimpleUpdate Robot +- Update to version 8.0.0 + * Thu Nov 21 2019 zhujunhao - 6.0.0-5 - Initial package.