!22 手工同步pr10

From: @laokz 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
This commit is contained in:
openeuler-ci-bot 2024-09-30 02:17:13 +00:00 committed by Gitee
commit df2a0d91af
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,14 +1,17 @@
%global debug_package %{nil}
Name: rapidjson
Version: 1.1.0
Release: 12
Release: 13
Summary: small & selft-contained fast JSON parser and generator for C++
License: MIT
URL: http://miloyip.github.io/rapidjson
Source0: https://github.com/miloyip/rapidjson/archive/v%{version}.tar.gz#/rapidjson-%{version}.tar.gz
Patch0000: rapidjson-1.1.0-do_not_include_gtest_src_dir.patch
Patch0001: backport-CVE-2024-38517.patch
BuildRequires: cmake gcc-c++ gtest-devel valgrind
BuildRequires: cmake gcc-c++ gtest-devel
%ifarch %{valgrind_arches}
BuildRequires: valgrind
%endif
%description
RapidJSON as a fast JSON parser which generator for c++. It`s inspired by
@ -89,6 +92,9 @@ cd -
%doc %{_pkgdocdir}
%changelog
* Sat Sep 28 2024 laokz <zhangkai@iscas.ac.cn> - 1.1.0-13
- let buildrequire:valgrind depend on system macro
* Thu Jul 11 2024 zhangxianting <zhangxianting@uniontech.com> - 1.1.0-12
- Fix CVE-2024-38517