spec: Set the qemu-list to a suitable value for recent Fedora.
[qemu-sanity-check.git] / 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}