From d05ce2cc1f512b7c772f64301349660fcdda2779 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Fri, 10 Nov 2023 10:24:59 +0200 Subject: [PATCH] Properly check valgrind arches Signed-off-by: David Abdurachmanov --- mpich.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mpich.spec b/mpich.spec index f5482d4..d6bcbd4 100644 --- a/mpich.spec +++ b/mpich.spec @@ -1,7 +1,7 @@ Summary: A high-performance implementation of MPI Name: mpich Version: 4.1.2 -Release: %autorelease +Release: %autorelease -e 0.riscv64 License: MIT URL: https://www.mpich.org/ @@ -48,7 +48,7 @@ Provides: bundled(yaksa) = 0.2 %endif # For ./maint/extractcvars BuildRequires: perl(lib) -%ifnarch s390 %{mips} +%ifarch %{valgrind_arches} BuildRequires: valgrind-devel %endif # For %%{python3_sitearch}