!3 Upgrade to 9.0.0
From: @chen-jan Reviewed-by: @lyn1001 Signed-off-by: @lyn1001
This commit is contained in:
commit
29d8318f88
Binary file not shown.
BIN
tinyxml2-9.0.0.tar.gz
Normal file
BIN
tinyxml2-9.0.0.tar.gz
Normal file
Binary file not shown.
@ -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 <chen_aka_jan@163.com> - 9.0.0-1
|
||||
- Upgrade to 9.0.0
|
||||
|
||||
* Thu Nov 21 2019 zhujunhao <zhujunhao5@huawei.com> - 6.0.0-5
|
||||
- Initial package.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user