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.
This commit is contained in:
Richard W.M. Jones 2021-03-10 18:00:15 +00:00
parent 97b5f69cda
commit 4fa48327db

View File

@ -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 <rjones@redhat.com> - 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 <rjones@redhat.com> - 1:1.45.1-3
- Bump and rebuild for ocaml-gettext update.