[PATCH 6/7] spec: Remove libvirt-daemon dependecy from drivers
Daniel P. Berrangé
berrange at redhat.com
Tue Dec 13 10:03:43 UTC 2022
On Fri, Dec 02, 2022 at 05:17:37PM -0700, Jim Fehlig wrote:
> Remove the libvirt-daemon dependency from all the libvirt-daemon-driver-*
> packages.
>
> Signed-off-by: Jim Fehlig <jfehlig at suse.com>
> ---
> libvirt.spec.in | 13 -------------
> 1 file changed, 13 deletions(-)
>
> diff --git a/libvirt.spec.in b/libvirt.spec.in
> index 381f74c222..a7a80d7733 100644
> --- a/libvirt.spec.in
> +++ b/libvirt.spec.in
> @@ -538,7 +538,6 @@ the monolithic libvirtd
> %package daemon-config-network
> Summary: Default configuration files for the libvirtd daemon
>
> -Requires: libvirt-daemon = %{version}-%{release}
> Requires: libvirt-daemon-driver-network = %{version}-%{release}
>
> %description daemon-config-network
> @@ -547,7 +546,6 @@ Default configuration files for setting up NAT based networking
> %package daemon-config-nwfilter
> Summary: Network filter configuration files for the libvirtd daemon
>
> -Requires: libvirt-daemon = %{version}-%{release}
> Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
>
> %description daemon-config-nwfilter
> @@ -555,7 +553,6 @@ Network filter configuration files for cleaning guest traffic
>
> %package daemon-driver-network
> Summary: Network driver plugin for the libvirtd daemon
> -Requires: libvirt-daemon = %{version}-%{release}
> Requires: libvirt-libs = %{version}-%{release}
> Requires: dnsmasq >= 2.41
> Requires: iptables
This is a problem, because we rely on that package to provide ownership
of
%dir %attr(0755, root, root) %{_libdir}/libvirt/connection-driver/
since all the daemon-driver-XXX packages will install .so into
that directory.
If that %dir ends up in libvirt-daemon-common, then this patch needs
to change 'libvirt-daemon' to 'libvirt-daemon-common' instead.
With regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
More information about the libvir-list
mailing list