Properly check valgrind_arches

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2023-10-13 13:45:22 +03:00
parent 44f4eef37a
commit b28b4b7e65
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 3 additions and 1 deletions

View File

@ -40,7 +40,7 @@ Version: 254.5
# determine the build information from local checkout
Version: %(tools/meson-vcs-tag.sh . error | sed -r 's/-([0-9])/.^\1/; s/-g/_g/')
%endif
Release: %autorelease
Release: %autorelease -e 0.riscv64
%global stable %(c="%version"; [ "$c" = "${c#*.*}" ]; echo $?)
@ -210,7 +210,9 @@ BuildRequires: libseccomp-devel
BuildRequires: meson >= 0.43
BuildRequires: gettext
# We use RUNNING_ON_VALGRIND in tests, so the headers need to be available
%ifarch %{valgrind_arches}
BuildRequires: valgrind-devel
%endif
BuildRequires: pkgconfig(bash-completion)
BuildRequires: perl
BuildRequires: perl(IPC::SysV)