Properly check valgrind arches

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2023-11-10 10:24:59 +02:00
parent 362681d20c
commit d05ce2cc1f
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB

View File

@ -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}