let buildrequire:valgrind depend on system macro
This commit is contained in:
parent
645fc2ad13
commit
28260dbf8f
@ -1,14 +1,17 @@
|
|||||||
%global debug_package %{nil}
|
%global debug_package %{nil}
|
||||||
Name: rapidjson
|
Name: rapidjson
|
||||||
Version: 1.1.0
|
Version: 1.1.0
|
||||||
Release: 12
|
Release: 13
|
||||||
Summary: small & selft-contained fast JSON parser and generator for C++
|
Summary: small & selft-contained fast JSON parser and generator for C++
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://miloyip.github.io/rapidjson
|
URL: http://miloyip.github.io/rapidjson
|
||||||
Source0: https://github.com/miloyip/rapidjson/archive/v%{version}.tar.gz#/rapidjson-%{version}.tar.gz
|
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
|
Patch0000: rapidjson-1.1.0-do_not_include_gtest_src_dir.patch
|
||||||
Patch0001: backport-CVE-2024-38517.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
|
%description
|
||||||
RapidJSON as a fast JSON parser which generator for c++. It`s inspired by
|
RapidJSON as a fast JSON parser which generator for c++. It`s inspired by
|
||||||
@ -89,6 +92,9 @@ cd -
|
|||||||
%doc %{_pkgdocdir}
|
%doc %{_pkgdocdir}
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Jul 11 2024 zhangxianting <zhangxianting@uniontech.com> - 1.1.0-12
|
||||||
- Fix CVE-2024-38517
|
- Fix CVE-2024-38517
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user