From 248967eeb5c48d26aa888bbbfba71c51027398ba Mon Sep 17 00:00:00 2001 From: lixianglai Date: Wed, 8 Nov 2023 05:38:59 -0500 Subject: [PATCH] Put bios and so file in qemu package Put the bios files and dynamic library files that qemu depends on in the qemu package. Signed-off-by: lixianglai --- qemu.spec | 33 ++++++++++++++++++++------------- 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/qemu.spec b/qemu.spec index ad9a0d3..9093fa3 100644 --- a/qemu.spec +++ b/qemu.spec @@ -1,6 +1,6 @@ Name: qemu Version: 6.2.0 -Release: 81 +Release: 82 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 @@ -1027,6 +1027,21 @@ getent passwd qemu >/dev/null || \ %{_datadir}/%{name}/sgabios.bin %endif +%ifarch loongarch64 +%{_libdir}/%{name}/audio-oss.so +%{_libdir}/%{name}/ui-curses.so +%{_libdir}/%{name}/ui-gtk.so +%{_libdir}/%{name}/audio-spice.so +%{_libdir}/%{name}/chardev-spice.so +%{_libdir}/%{name}/hw-display-qxl.so +%{_libdir}/%{name}/hw-s390x-virtio-gpu-ccw.so +%{_libdir}/%{name}/hw-usb-redirect.so +%{_libdir}/%{name}/ui-opengl.so +%{_libdir}/%{name}/ui-spice-app.so +%{_libdir}/%{name}/ui-spice-core.so +%{_datadir}/%{name}/loongarch_*.bin +%endif + %files system-aarch64 %{_bindir}/qemu-system-aarch64 @@ -1068,18 +1083,6 @@ getent passwd qemu >/dev/null || \ %ifarch loongarch64 %files system-loongarch64 %{_bindir}/qemu-system-loongarch64 -%{_datadir}/%{name}/loongarch_*.bin -%{_libdir}/%{name}/audio-oss.so -%{_libdir}/%{name}/ui-curses.so -%{_libdir}/%{name}/ui-gtk.so -%{_libdir}/%{name}/audio-spice.so -%{_libdir}/%{name}/chardev-spice.so -%{_libdir}/%{name}/hw-display-qxl.so -%{_libdir}/%{name}/hw-s390x-virtio-gpu-ccw.so -%{_libdir}/%{name}/hw-usb-redirect.so -%{_libdir}/%{name}/ui-opengl.so -%{_libdir}/%{name}/ui-spice-app.so -%{_libdir}/%{name}/ui-spice-core.so %endif %ifnarch loongarch64 @@ -1147,6 +1150,10 @@ getent passwd qemu >/dev/null || \ %endif %changelog +* Wed Nov 8 2023 - 10:6.2.0-82 +- Put the bios files and dynamic library files that qemu + depends on in the qemu package. + * Fri Nov 3 2023 - 10:6.2.0-81 - Delete the default vga graphics card and update the firmware. -- Gitee