diff --git a/jq.spec b/jq.spec index 6b1234548d1e42ca851652dde9f859c97f77d416..089f6902c56ce501e3ce8c9047b6ddca29730304 100644 --- a/jq.spec +++ b/jq.spec @@ -1,12 +1,14 @@ Name: jq Version: 1.6 -Release: 3 +Release: 4 Summary: A lightweight and flexible command-line JSON processor License: MIT and ASL 2.0 and CC-BY-3.0 and GPLv3 URL: http://stedolan.github.io/jq/ Source0: https://github.com/stedolan/jq/releases/download/jq-%{version}/jq-%{version}.tar.gz -BuildRequires: make flex bison valgrind gcc chrpath oniguruma-devel - +BuildRequires: make flex bison gcc chrpath oniguruma-devel +%ifarch "%{valgrind_arches}" +BuildRequires: valgrind +%endif Patch0001: jv_string_implode-avoid-producing-unprintable-string-fromreserved-code-points.patch Patch0002: Binary-strings-preserve-UTF-8-and-UTF-16-errors.patch Patch0003: Update-base64-utf8bytelength-and-fromjson-to-handlebinary-strings.patch @@ -75,6 +77,9 @@ make check %changelog +* Sun Apr 28 2024 yinsist - 1.6-4 +- Valgrind does not support certain architectures like RISC-V, Before depending on Valgrind, first check if Valgrind supports the architecture + * Mon May 30 2022 Chenyx - 1.6-3 - License compliance rectification