From f48a6e2306ebd91664fc793ef0373fd089fe29b8 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Tue, 9 Jan 2024 11:53:46 +0200 Subject: [PATCH] Properly check valgrind arches Signed-off-by: David Abdurachmanov --- libtasn1.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libtasn1.spec b/libtasn1.spec index bf2b08f..26cf055 100644 --- a/libtasn1.spec +++ b/libtasn1.spec @@ -1,7 +1,7 @@ Summary: The ASN.1 library used in GNUTLS Name: libtasn1 Version: 4.19.0 -Release: %autorelease +Release: %autorelease -e 0.riscv64 # The libtasn1 library is LGPLv2+, utilities are GPLv3+ License: GPL-3.0-or-later AND LGPL-2.1-or-later @@ -17,7 +17,9 @@ BuildRequires: gnupg2 BuildRequires: gcc BuildRequires: bison, pkgconfig, help2man BuildRequires: autoconf, automake, libtool +%ifarch %{valgrind_arches} BuildRequires: valgrind-devel +%endif BuildRequires: make BuildRequires: gtk-doc # Wildcard bundling exception https://fedorahosted.org/fpc/ticket/174