From b21b1e57b4d181e3dd3ee7509269e9e752b279d4 Mon Sep 17 00:00:00 2001 From: laokz Date: Mon, 9 Sep 2024 10:34:40 +0800 Subject: [PATCH] Let valgrind depend on system arch macro --- jq.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/jq.spec b/jq.spec index 1516965..3753821 100644 --- a/jq.spec +++ b/jq.spec @@ -1,11 +1,14 @@ Name: jq Version: 1.7.1 -Release: 1 +Release: 2 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/jqlang/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 %description jq is a lightweight and flexible command-line JSON processor. @@ -71,6 +74,9 @@ make check %changelog +* Mon Sep 09 2024 laokz - 1.7.1-2 +- Let valgrind depend on system arch macro + * Wed Jul 24 2024 dillon chen - 1.7.1-1 - Upgrade to 1.7.1 -- Gitee