[PATCH 7/7] spec: Remove libvirt-daemon dependency from hypervisor subpackages

Jim Fehlig jfehlig at suse.com
Mon Dec 5 23:54:40 UTC 2022


On 12/2/22 17:17, Jim Fehlig wrote:
> Remove the libvirt-daemon dependency from the various
> libvirt-daemon-<hypervisor> subpackages, replacing it with a set of the
> new sub subpackages providing the same functionality.
> 
> Signed-off-by: Jim Fehlig <jfehlig at suse.com>
> ---
>   libvirt.spec.in | 21 ++++++++++++++++-----
>   1 file changed, 16 insertions(+), 5 deletions(-)
> 
> diff --git a/libvirt.spec.in b/libvirt.spec.in
> index a7a80d7733..034bc2a96d 100644
> --- a/libvirt.spec.in
> +++ b/libvirt.spec.in
> @@ -832,7 +832,10 @@ Libxl
>   %package daemon-qemu
>   Summary: Server side daemon & driver required to run QEMU guests
>   
> -Requires: libvirt-daemon = %{version}-%{release}
> +Requires: libvirt-daemon-client = %{version}-%{release}
> +Requires: libvirt-daemon-log = %{version}-%{release}
> +Requires: libvirt-daemon-lock = %{version}-%{release}
> +Requires: libvirt-daemon-plugin-lockd = %{version}-%{release}
>   Requires: libvirt-daemon-driver-qemu = %{version}-%{release}
>   Requires: libvirt-daemon-driver-interface = %{version}-%{release}
>   Requires: libvirt-daemon-driver-network = %{version}-%{release}
> @@ -852,7 +855,10 @@ capabilities of the QEMU TCG emulators
>   %package daemon-kvm
>   Summary: Server side daemon & driver required to run KVM guests
>   
> -Requires: libvirt-daemon = %{version}-%{release}
> +Requires: libvirt-daemon-client = %{version}-%{release}
> +Requires: libvirt-daemon-log = %{version}-%{release}
> +Requires: libvirt-daemon-lock = %{version}-%{release}
> +Requires: libvirt-daemon-plugin-lockd = %{version}-%{release}
>   Requires: libvirt-daemon-driver-qemu = %{version}-%{release}
>   Requires: libvirt-daemon-driver-interface = %{version}-%{release}
>   Requires: libvirt-daemon-driver-network = %{version}-%{release}
> @@ -872,7 +878,10 @@ capabilities of the KVM hypervisor
>   %package daemon-lxc
>   Summary: Server side daemon & driver required to run LXC guests
>   
> -Requires: libvirt-daemon = %{version}-%{release}
> +Requires: libvirt-daemon-client = %{version}-%{release}
> +Requires: libvirt-daemon-log = %{version}-%{release}
> +Requires: libvirt-daemon-lock = %{version}-%{release}
> +Requires: libvirt-daemon-plugin-lockd = %{version}-%{release}

Opps, too much copy-and-paste. I've dropped the last 3 additions in my local branch.

Regards,
Jim

>   Requires: libvirt-daemon-driver-lxc = %{version}-%{release}
>   Requires: libvirt-daemon-driver-interface = %{version}-%{release}
>   Requires: libvirt-daemon-driver-network = %{version}-%{release}
> @@ -891,7 +900,9 @@ capabilities of LXC
>   %package daemon-xen
>   Summary: Server side daemon & driver required to run XEN guests
>   
> -Requires: libvirt-daemon = %{version}-%{release}
> +Requires: libvirt-daemon-client = %{version}-%{release}
> +Requires: libvirt-daemon-lock = %{version}-%{release}
> +Requires: libvirt-daemon-plugin-lockd = %{version}-%{release}
>   Requires: libvirt-daemon-driver-libxl = %{version}-%{release}
>   Requires: libvirt-daemon-driver-interface = %{version}-%{release}
>   Requires: libvirt-daemon-driver-network = %{version}-%{release}
> @@ -910,7 +921,7 @@ capabilities of XEN
>   %package daemon-vbox
>   Summary: Server side daemon & driver required to run VirtualBox guests
>   
> -Requires: libvirt-daemon = %{version}-%{release}
> +Requires: libvirt-daemon-client = %{version}-%{release}
>   Requires: libvirt-daemon-driver-vbox = %{version}-%{release}
>   Requires: libvirt-daemon-driver-interface = %{version}-%{release}
>   Requires: libvirt-daemon-driver-network = %{version}-%{release}



More information about the libvir-list mailing list