Update to release 3.0.0 (rhbz#1202166)

This commit is contained in:
Rich Mattes 2016-05-21 19:37:08 -04:00
parent c68badd544
commit 9b7deb4756
3 changed files with 17 additions and 12 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/tinyxml2-1.0.11-0323851.tar.gz
/tinyxml2-2.1.0-6ee53e7.tar.gz
/tinyxml2-2.2.0-5321a0e.tar.gz
/tinyxml2-3.0.0-1977a72.tar.gz

View File

@ -1 +1 @@
22df96b482049b513c6457fb17e6fe86 tinyxml2-2.2.0-5321a0e.tar.gz
3953aa7d5dda966873e97714b1f5c59d tinyxml2-3.0.0-1977a72.tar.gz

View File

@ -2,14 +2,14 @@
%global _hardened_build 1
%global githubparent leethomason
%global commit 5321a0e21f111536e17fbff81b51e30acdcd8738
%global commit 1977a7258cc66fd4da7f1e9da05a4933646a7803
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commitdate 20140914
%global gitversion .%{commitdate}git%{shortcommit}
Name: tinyxml2
Version: 2.2.0
Release: 4%{gitversion}%{?dist}
Version: 3.0.0
Release: 1%{?dist}
Summary: Simple, small and efficient C++ XML parser
Group: Development/Libraries
@ -28,10 +28,10 @@ BuildRequires: cmake
TinyXML-2 is a simple, small, efficient, C++ XML parser that can be
easily integrated into other programs. It uses a Document Object Model
(DOM), meaning the XML data is parsed into a C++ objects that can be
browsed and manipulated, and then written to disk or another output stream.
browsed and manipulated, and then written to disk or another output stream.
TinyXML-2 doesn't parse or use DTDs (Document Type Definitions) nor XSLs
(eXtensible Stylesheet Language).
(eXtensible Stylesheet Language).
TinyXML-2 uses a similar API to TinyXML-1, But the implementation of the
parser was completely re-written to make it more appropriate for use in a
@ -60,11 +60,12 @@ cd objdir
%cmake .. -DBUILD_STATIC_LIBS=OFF
make %{?_smp_mflags}
%check
cd objdir
make test
export LD_LIBRARY_PATH=`pwd`
./test
# Library tests were disabled in 3.0.0
#%check
#cd objdir
#make test
#export LD_LIBRARY_PATH=`pwd`
#./test
%install
rm -rf %{buildroot}
@ -81,7 +82,7 @@ rm -rf %{buildroot}
%files
%doc readme.md
%{_libdir}/lib%{name}.so.%{version}
%{_libdir}/lib%{name}.so.2
%{_libdir}/lib%{name}.so.3
%files devel
%{_includedir}/%{name}.h
@ -89,6 +90,9 @@ rm -rf %{buildroot}
%{_libdir}/pkgconfig/%{name}.pc
%changelog
* Sat May 21 2016 Rich Mattes <richmattes@gmail.com> - 3.0.0-1
- Update to release 3.0.0 (rhbz#1202166)
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-4.20140914git5321a0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild