diff --git a/rapidjson.spec b/rapidjson.spec index 0d21859162549e9550e020bfb3822310673252f8..636247d34042004487d0e5e9c4ee19f68411a08c 100644 --- a/rapidjson.spec +++ b/rapidjson.spec @@ -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 - 1.1.0-13 +- let buildrequire:valgrind depend on system macro + * Thu Jul 11 2024 zhangxianting - 1.1.0-12 - Fix CVE-2024-38517