From 21ca78f1c0e6eab81df2e60ab810a38f2f785c19 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Mar 04 2024 10:34:43 +0000 Subject: Properly check valgrind arches Signed-off-by: David Abdurachmanov --- diff --git a/libtasn1.spec b/libtasn1.spec index bf2b08f..b4d2377 100644 --- a/libtasn1.spec +++ b/libtasn1.spec @@ -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