From 4fa48327dbcc5baf2a8e4c087e4d0de5be01da1f Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 10 Mar 2021 18:00:15 +0000 Subject: [PATCH] Drop Requires: libvirt-daemon-kvm, pulls in the whole of qemu and subpkgs. Cole Robinson writes: > libguestfs spec looks like it has a bug (looking at fedora rawhide). It > attempts to use Suggests/Recommends to limit what's pulled in of qemu > modules, but then it has a dep on libvirt-daemon-kvm which conditionally > pulls in qemu-kvm, which on fedora pulls in every qemu module. That > explains SDL and gtk deps. > > libvirt-daemon-kvm is just a metapackage with deps on > libvirt-daemon-driver-X subsystems, and qemu-kvm. The thing that > actually puts the libvirt qemu driver on the host is > libvirt-daemon-driver-qemu, which libguestfs already has an explicit dep on. > > So try dropping the libvirt-daemon-kvm dep and see if things break. --- libguestfs.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libguestfs.spec b/libguestfs.spec index 6fb9a64..0c609d8 100644 --- a/libguestfs.spec +++ b/libguestfs.spec @@ -56,7 +56,7 @@ Summary: Access and modify virtual machine disk images Name: libguestfs Epoch: 1 Version: 1.45.1 -Release: 3%{?dist} +Release: 4%{?dist} License: LGPLv2+ # Build only for architectures that have a kernel @@ -329,7 +329,6 @@ Recommends: libvirt-daemon-config-network Requires: libvirt-daemon-driver-qemu Requires: libvirt-daemon-driver-secret Recommends: libvirt-daemon-driver-storage-core -Requires: libvirt-daemon-kvm >= 5.3.0 Requires: selinux-policy >= 3.11.1-63 %ifarch aarch64 @@ -1309,6 +1308,9 @@ rm ocaml/html/.gitignore %changelog +* Wed Mar 10 2021 Richard W.M. Jones - 1:1.45.1-4 +- Drop Requires: libvirt-daemon-kvm, pulls in the whole of qemu and subpkgs. + * Mon Mar 8 2021 Richard W.M. Jones - 1:1.45.1-3 - Bump and rebuild for ocaml-gettext update.