From de84a6a5c898ff6f961d0db0c23ae3fbdaefacb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=98=E5=96=84=E5=BA=86?= Date: Thu, 11 Aug 2022 02:35:51 +0000 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=BC=80--enable-slirp=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- qemu.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/qemu.spec b/qemu.spec index 8f7892f..1bc4a0c 100644 --- a/qemu.spec +++ b/qemu.spec @@ -1,6 +1,6 @@ Name: qemu Version: 6.2.0 -Release: 44 +Release: 45 Epoch: 2 Summary: QEMU is a generic and open source machine emulator and virtualizer License: GPLv2 and BSD and MIT and CC-BY-SA-4.0 @@ -332,6 +332,7 @@ BuildRequires: libssh-devel BuildRequires: glib2 BuildRequires: libfdt-devel BuildRequires: virglrenderer-devel +BuildRequires: libslirp-devel Requires(post): /usr/bin/getent Requires(post): /usr/sbin/groupadd @@ -474,7 +475,8 @@ cd ../ --firmwarepath=%{_datadir}/%{name} \ --with-pkgversion=%{name}-%{version}-%{release} \ --python=/usr/bin/python3 \ - --disable-slirp \ + --enable-slirp=system \ + --enable-slirp-smbd \ --enable-gtk \ --enable-docs \ --enable-guest-agent \ -- Gitee