From e04cb2ed897c8edfed44c81101ec7367cc7305c9 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 6 Jun 2018 20:18:15 +0100 Subject: [PATCH] Exclude HAVE_GUESTFISH code on incomplete test arches. --- nbdkit.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/nbdkit.spec b/nbdkit.spec index a8472b9..2f36751 100644 --- a/nbdkit.spec +++ b/nbdkit.spec @@ -390,6 +390,7 @@ plugins for %{name}. %ifnarch %{complete_test_arches} # Simplify the test suite so it doesn't require qemu. sed -i -e '/^if HAVE_LIBGUESTFS/,/^endif HAVE_LIBGUESTFS/d' tests/Makefile.am +sed -i -e '/^if HAVE_GUESTFISH/,/^endif HAVE_GUESTFISH/d' tests/Makefile.am autoreconf -i %endif