From 41f790f919f0659cdec4112afe1606c3bcf3716d Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Sun, 1 Dec 2019 20:39:55 +0000 Subject: [PATCH] Fix complete_test_arches. --- nbdkit.spec | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/nbdkit.spec b/nbdkit.spec index 164555a..34f9e0f 100644 --- a/nbdkit.spec +++ b/nbdkit.spec @@ -19,8 +19,7 @@ # On all other architectures, a simpler test suite must pass. This # omits any tests that run full qemu, since running qemu under TCG is # often broken on non-x86_64 arches. -# x86_64 is currently broken in F31 by https://bugzilla.redhat.com/1692047 -%global complete_test_arches NONE +%global complete_test_arches x86_64 # If we should verify tarball signature with GPGv2. %global verify_tarball_signature 1 @@ -569,8 +568,7 @@ autoreconf -i %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 +sed -i -e '/^LIBGUESTFS_TESTS/d' tests/Makefile.am autoreconf -i %endif