From a686537d26dc0ab3a9aee8753061fe66df9078f9 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: May 17 2022 18:24:36 +0000 Subject: spec: Move virtiofsd dep from `qemu` to `qemu-system-XXX` When we split virtiofsd out from qemu-common, the intention was it would be installed with `qemu-system-XXX` but not `qemu-system-XXX-core`, similar to how device modules are treated. It was accidentally added to the `qemu` metapackage, which is rarely used. This fixes that mistake. https://bugzilla.redhat.com/show_bug.cgi?id=2083155 Signed-off-by: Cole Robinson --- diff --git a/qemu.spec b/qemu.spec index 5eabd97..7921bf8 100644 --- a/qemu.spec +++ b/qemu.spec @@ -215,6 +215,7 @@ %define requires_device_display_virtio_gpu_ccw Requires: %{name}-device-display-virtio-gpu-ccw = %{evr} %define requires_device_display_virtio_vga Requires: %{name}-device-display-virtio-vga = %{evr} %define requires_device_display_virtio_vga_gl Requires: %{name}-device-display-virtio-vga-gl = %{evr} +%define requires_package_virtiofsd Requires: vhostuser-backend(fs) %if %{have_virgl} %define requires_device_display_vhost_user_gpu Requires: %{name}-device-display-vhost-user-gpu = %{evr} @@ -284,6 +285,7 @@ %{requires_device_usb_host} \ %{requires_device_usb_redirect} \ %{requires_device_usb_smartcard} \ +%{requires_package_virtiofsd} \ # Modules which can be conditionally built %global obsoletes_some_modules \ @@ -504,7 +506,6 @@ Requires: %{name}-system-xtensa = %{epoch}:%{version}-%{release} Requires: %{name}-img = %{epoch}:%{version}-%{release} Requires: %{name}-tools = %{epoch}:%{version}-%{release} Requires: qemu-pr-helper = %{epoch}:%{version}-%{release} -Requires: vhostuser-backend(fs) %description