From e3e9477031d88374d2c2796ce765401f68b1653e Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Mar 22 2024 12:02:00 +0000 Subject: BR: valgrind is not available on riscv64 [skip changelog] --- diff --git a/systemd.spec b/systemd.spec index a7bce17..6ada273 100644 --- a/systemd.spec +++ b/systemd.spec @@ -201,7 +201,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)