From 23f09debc1f5c83647216771c15fada87812b4a0 Mon Sep 17 00:00:00 2001 From: Ying Fang Date: Wed, 26 Feb 2020 10:50:49 +0800 Subject: [PATCH] spec: Build qemu with python3 support Python2 will reach the end of its life, it's time to build qemu with python3 support. Signed-off-by: Ying Fang --- qemu.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/qemu.spec b/qemu.spec index a2279a5..0f2214b 100644 --- a/qemu.spec +++ b/qemu.spec @@ -166,6 +166,7 @@ buildldflags="VL_LDFLAGS=-Wl,--build-id" --interp-prefix=%{_prefix}/qemu-%%M \ --firmwarepath=%{_datadir}/%{name} \ --with-pkgversion=%{name}-%{version}-%{release} \ + --python=/usr/bin/python3 \ --disable-strip \ --disable-werror \ --disable-slirp \