[packages/qemu] fix files when building without virgl

atler atler at pld-linux.org
Thu May 2 01:48:28 CEST 2024


commit 54e46ffc2ce8d9e2901700c9ba8f0d1e09bd8bb6
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed May 1 22:47:14 2024 +0200

    fix files when building without virgl

 qemu.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/qemu.spec b/qemu.spec
index d127d15..30f7735 100644
--- a/qemu.spec
+++ b/qemu.spec
@@ -1399,9 +1399,9 @@ fi
 %endif
 %attr(755,root,root) %{_libdir}/%{name}/hw-display-qxl.so
 %attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-gpu.so
-%attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-gpu-gl.so
+%{?with_virgl:%attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-gpu-gl.so}
 %attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-gpu-pci.so
-%attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-gpu-pci-gl.so
+%{?with_virgl:%attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-gpu-pci-gl.so}
 %attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-vga.so
 %attr(755,root,root) %{_libdir}/%{name}/hw-display-virtio-vga-gl.so
 %attr(755,root,root) %{_libdir}/%{name}/hw-s390x-virtio-gpu-ccw.so
@@ -1427,8 +1427,8 @@ fi
 %dir %{_datadir}/%{name}/firmware
 %{_datadir}/%{name}/keymaps
 %{_datadir}/%{name}/trace-events-all
-%dir %{_datadir}/%{name}/vhost-user
 %if %{with virgl}
+%dir %{_datadir}/%{name}/vhost-user
 %{_datadir}/%{name}/vhost-user/50-qemu-gpu.json
 %endif
 %{_desktopdir}/qemu.desktop
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/qemu.git/commitdiff/6657e096af1f3a9c2897dfd792593b1c00505323



More information about the pld-cvs-commit mailing list