spec: Set the qemu-list to a suitable value for recent Fedora.
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 20 Aug 2013 19:08:16 +0000 (20:08 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 20 Aug 2013 19:08:16 +0000 (20:08 +0100)
qemu-sanity-check.spec.in

index 7cefceb..cc6ca3a 100644 (file)
@@ -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}