From d52283e1954da2e7679cf026ce790db140b5eecc Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Thu, 23 Mar 2023 10:26:47 +0200 Subject: [PATCH] Properly check for valgrind arch Signed-off-by: David Abdurachmanov --- mpich.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mpich.spec b/mpich.spec index 64f58d2..8599b8f 100644 --- a/mpich.spec +++ b/mpich.spec @@ -1,7 +1,7 @@ Summary: A high-performance implementation of MPI Name: mpich Version: 4.0.3 -Release: %autorelease +Release: %autorelease -e 0.riscv64 License: MIT URL: https://www.mpich.org/ @@ -35,7 +35,7 @@ BuildRequires: ucx-devel %endif # For ./maint/extractcvars BuildRequires: perl(lib) -%ifnarch s390 %{mips} +%ifarch %{valgrind_arches} BuildRequires: valgrind-devel %endif # For %%{python3_sitearch}