From 52904050aa05317ca6ef2250d48502de7e259799 Mon Sep 17 00:00:00 2001
From: Daniel P. Berrangé <berrange(a)redhat.com>
Date: Feb 28 2018 18:02:52 +0000
Subject: Explicitly use python2 binary
The /usr/bin/python binary has started spewing text to stderr, even when
not connected to a tty, which breaks QEMU test suite.
Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
---
diff --git a/qemu.spec b/qemu.spec
index eeb1b4f..3156741 100644
--- a/qemu.spec
+++ b/qemu.spec
@@ -1056,6 +1056,7 @@ run_configure() {
--disable-strip \
--disable-werror \
--enable-kvm \
+ --python=/usr/bin/python2 \
%ifarch s390 %{mips64}
--enable-tcg-interpreter \
%endif
@@ -1983,6 +1984,7 @@ getent passwd qemu >/dev/null || \
- Improve License tag
- Honour CC/LD flags for ksmctl
- Fix non-deterministic test failure
+- Use explicit "python2" binary to avoid "python" brokeness
(rhbz#1550010)
* Fri Feb 09 2018 Fedora Release Engineering <releng(a)fedoraproject.org> -
2:2.11.0-4.1
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
https://src.fedoraproject.org/rpms/qemu/c/52904050aa05317ca6ef2250d48502d...