Update to release 9.0.0 (Resolves: 1742663)

This commit is contained in:
Rich Mattes 2022-09-25 14:17:04 -04:00
parent 6ac641b137
commit 137964925f
3 changed files with 15 additions and 16 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@
/tinyxml2-3.0.0-1977a72.tar.gz
/tinyxml2-6.0.0-8c8293b.tar.gz
/tinyxml2-7.0.1.tar.gz
/tinyxml2-9.0.0.tar.gz

View File

@ -1 +1 @@
SHA512 (tinyxml2-7.0.1.tar.gz) = 623cd7eff542d20b434a67111ac98110101c95a18767318bf906e5e56d8cc25622269f740f50477fe907a4c52d875b614cb6167f4760d42ab18dc55b9d4bf380
SHA512 (tinyxml2-9.0.0.tar.gz) = 9c5ce8131984690df302ca3e32314573b137180ed522c92fd631692979c942372a28f697fdb3d5e56bcf2d3dc596262b724d088153f3e1d721c9536f2a883367

View File

@ -1,13 +1,15 @@
%global soversion 9
Name: tinyxml2
Version: 7.0.1
Release: 9%{?dist}
Version: 9.0.0
Release: 1%{?dist}
Summary: Simple, small and efficient C++ XML parser
License: zlib
URL: https://github.com/leethomason/tinyxml2
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: make
BuildRequires: make
BuildRequires: cmake >= 2.6
BuildRequires: gcc
BuildRequires: gcc-c++
@ -38,28 +40,21 @@ for writing applications with the %{name} library.
chmod -c -x *.cpp *.h
%build
%cmake . -B%{_vpath_builddir} -DBUILD_STATIC_LIBS=OFF
%make_build -C %{_vpath_builddir}
%cmake -DBUILD_STATIC_LIBS=OFF
%cmake_build
# Library tests were disabled in 3.0.0
#%check
#cd objdir
#make test
#export LD_LIBRARY_PATH=`pwd`
#./test
# and partially re-enabled in 6.0.0
%check
%make_build test -C %{_vpath_builddir}
%ctest
%install
%make_install -C %{_vpath_builddir}
%cmake_install
%ldconfig_scriptlets
%files
%doc readme.md
%{_libdir}/lib%{name}.so.7*
%{_libdir}/lib%{name}.so.%{soversion}*
%files devel
%{_includedir}/%{name}.h
@ -68,6 +63,9 @@ chmod -c -x *.cpp *.h
%{_libdir}/cmake/%{name}/
%changelog
* Sun Sep 25 2022 Rich Mattes <richmattes@gmail.com> - 9.0.0-1
- Update to release 9.0.0 (Resolves: 1742663)
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild