From: Richard W.M. Jones <rjones@redhat.com>
Date: Tue, 20 Aug 2013 19:08:16 +0000 (+0100)
Subject: spec: Set the qemu-list to a suitable value for recent Fedora.
X-Git-Tag: v1.1.2~1
X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=4b13d9cf4d0d6df54d6eae207258569ccfe0cd3c;p=qemu-sanity-check.git

spec: Set the qemu-list to a suitable value for recent Fedora.
---

diff --git a/qemu-sanity-check.spec.in b/qemu-sanity-check.spec.in
index 7cefceb..cc6ca3a 100644
--- a/qemu-sanity-check.spec.in
+++ b/qemu-sanity-check.spec.in
@@ -45,7 +45,9 @@ to test the Linux kernel and/or qemu to make sure they are working.
 
 
 %build
-%configure
+# NB: canonical_arch is a variable in the final script, so it
+# has to be escaped here.
+%configure --with-qemu-list="qemu-system-\$canonical_arch"
 make %{?_smp_mflags}