diff --git a/qemu.spec b/qemu.spec index 26380feacf0256702fbf03f9dcaee0072d8a32ec..f816c6028dafbd1196628f7792d043bade1cd949 100644 --- a/qemu.spec +++ b/qemu.spec @@ -1,6 +1,6 @@ Name: qemu Version: 6.2.0 -Release: 64 +Release: 65 Epoch: 10 Summary: QEMU is a generic and open source machine emulator and virtualizer License: GPLv2 and BSD and MIT and CC-BY-SA-4.0 @@ -519,6 +519,7 @@ BuildRequires: libssh-devel BuildRequires: glib2 BuildRequires: libfdt-devel BuildRequires: virglrenderer-devel +BuildRequires: libslirp-devel %ifarch loongarch64 BuildRequires: spice-server-devel %endif @@ -684,7 +685,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 \ @@ -725,6 +727,10 @@ cd ../ --disable-plugins \ --enable-debug +%ifarch loongarch64 +echo "#define CONFIG_DISABLE_QEMU_LOG" >> build/config-host.h +%endif + make %{?_smp_mflags} $buildldflags V=1 cp ${qemubuilddir}/${buildarch}/qemu-system-* qemu-kvm @@ -1026,6 +1032,9 @@ getent passwd qemu >/dev/null || \ %endif %changelog +* Mon Apr 10 2023 - 10:6.2.0-65 +- add '--enable-slirp' compilation options + * Thu Mar 30 2023 - 10:6.2.0-64 - Add spice buildrequires for loongarch.