From b9231db4b36fb60b9264a767c4a6105e63d398d1 Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Tue, 23 Dec 2025 13:43:08 -0700 Subject: [PATCH] Ensure valgrind is disabled on arches without valgrind Resolves: RHEL-137514 --- fwupd.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fwupd.spec b/fwupd.spec index 1f7605b..4bdf92d 100644 --- a/fwupd.spec +++ b/fwupd.spec @@ -273,6 +273,11 @@ cd - -Dpassim=enabled \ %else -Dpassim=disabled \ +%endif +%ifarch %{valgrind_arches} + -Dvalgrind=enabled \ +%else + -Dvalgrind=disabled \ %endif -Dman=true \ -Dsystemd_unit_user="" \