!10 first check if Valgrind supports the build architecture
From: @yinist Reviewed-by: @caodongxia Signed-off-by: @caodongxia
This commit is contained in:
commit
9066f99d01
@ -1,13 +1,16 @@
|
|||||||
%global debug_package %{nil}
|
%global debug_package %{nil}
|
||||||
Name: rapidjson
|
Name: rapidjson
|
||||||
Version: 1.1.0
|
Version: 1.1.0
|
||||||
Release: 11
|
Release: 12
|
||||||
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
|
||||||
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
|
||||||
@ -88,6 +91,9 @@ cd -
|
|||||||
%doc %{_pkgdocdir}
|
%doc %{_pkgdocdir}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 29 2024 yinsist <jianhui.oerv@isrc.iscas.ac.cn> - 1.1.0-12
|
||||||
|
- Valgrind does not support certain architectures like RISC-V, Before depending on Valgrind, first check if Valgrind supports the architecture
|
||||||
|
|
||||||
* Fri Aug 25 2023 liyanan <thistleslyn@163.com> - 1.1.0-11
|
* Fri Aug 25 2023 liyanan <thistleslyn@163.com> - 1.1.0-11
|
||||||
- Do not force C++11: gtest 1.13.0 requires at least C++14
|
- Do not force C++11: gtest 1.13.0 requires at least C++14
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user