From c5fbd4d47064e75a07edc701a631f50f3bbe1379 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Sun, 4 Dec 2022 10:57:47 +0000 Subject: [PATCH] Don't enable libguestfs tests if we don't have libguestfs --- nbdkit.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nbdkit.spec b/nbdkit.spec index f12ebe4..227ff44 100644 --- a/nbdkit.spec +++ b/nbdkit.spec @@ -731,7 +731,7 @@ export PYTHON=%{__python3} %else --without-libguestfs \ %endif -%ifarch %{complete_test_arches} +%ifarch !0%{?rhel} && 0%{?have_libguestfs} && %{complete_test_arches} --enable-libguestfs-tests \ %else --disable-libguestfs-tests \