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 <fangying1@huawei.com>
This commit is contained in:
Ying Fang 2020-02-26 10:50:49 +08:00 committed by wsp1991
parent e4766d9eee
commit 23f09debc1

View File

@ -166,6 +166,7 @@ buildldflags="VL_LDFLAGS=-Wl,--build-id"
--interp-prefix=%{_prefix}/qemu-%%M \ --interp-prefix=%{_prefix}/qemu-%%M \
--firmwarepath=%{_datadir}/%{name} \ --firmwarepath=%{_datadir}/%{name} \
--with-pkgversion=%{name}-%{version}-%{release} \ --with-pkgversion=%{name}-%{version}-%{release} \
--python=/usr/bin/python3 \
--disable-strip \ --disable-strip \
--disable-werror \ --disable-werror \
--disable-slirp \ --disable-slirp \