From e7f54f8ebab8b6d1c6449d49e49d48511c8e4132 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Wed, 1 Mar 2023 12:23:36 +0200 Subject: [PATCH] Fix valgrind arches check Signed-off-by: David Abdurachmanov --- libtasn1.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libtasn1.spec b/libtasn1.spec index b513ce3..a7f7f8a 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: GPLv3+ and LGPLv2+ @@ -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