diff --git a/nbdkit.spec b/nbdkit.spec index 34f9e0f..79f45be 100644 --- a/nbdkit.spec +++ b/nbdkit.spec @@ -569,6 +569,7 @@ autoreconf -i %ifnarch %{complete_test_arches} # Simplify the test suite so it doesn't require qemu. sed -i -e '/^LIBGUESTFS_TESTS/d' tests/Makefile.am +sed -i -e '/^if HAVE_GUESTFISH/,/^endif HAVE_GUESTFISH/d' tests/Makefile.am autoreconf -i %endif