diff --git a/qemu.spec b/qemu.spec index 42cdf8c71def8be8c5f1664ffd598674391ef346..1ea388b667fdeab56f952e9423db46290592d59f 100644 --- a/qemu.spec +++ b/qemu.spec @@ -1,4 +1,4 @@ -%define anolis_release 23 +%define anolis_release 24 %bcond_with check %global all_system_emu_support 0 @@ -57,7 +57,7 @@ # Matches spice ExclusiveArch %global have_spice 0 -%ifarch x86_64 aarch64 +%ifarch x86_64 aarch64 loongarch64 %global have_spice 1 %endif @@ -1713,6 +1713,9 @@ rm -f %{buildroot}/%{_datadir}/systemtap/tapset/qemu-system-{alpha,avr,cris,hppa # remove unused header files rm -f %{buildroot}%{_includedir}/qemu-plugin.h +%ifarch aarch64 loongarch64 +rm -f %{buildroot}%{_libdir}/%{name}/hw-display-qxl.so +%endif # Fedora specific stuff below %find_lang %{name} @@ -2094,6 +2097,9 @@ useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \ %endif %changelog +* Wed Nov 27 2024 Xianglai Li - 2:8.2.0-24 +- Enable spice for loongarch64. + * Wed Nov 27 2024 mgb01105731 - 2:8.2.0-23 - Fix vm cannot boot on arm64 plateform