forked from pool/libvirt
Accepting request 544470 from home:olh:branches:Virtualization
- Replace hardcoded libvirt with Name tag when refering to subpkgs - Remove dependencies to /bin/sh in libs and nss %post scripts OBS-URL: https://build.opensuse.org/request/show/544470 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=640
This commit is contained in:
parent
119ff95911
commit
5b64c3492d
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 22 19:05:39 UTC 2017 - olaf@aepfle.de
|
||||||
|
|
||||||
|
- Replace hardcoded libvirt with Name tag when refering to subpkgs
|
||||||
|
- Remove dependencies to /bin/sh in libs and nss %post scripts
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Nov 17 21:59:28 UTC 2017 - jfehlig@suse.com
|
Fri Nov 17 21:59:28 UTC 2017 - jfehlig@suse.com
|
||||||
|
|
||||||
|
204
libvirt.spec
204
libvirt.spec
@ -166,35 +166,35 @@ Summary: Library providing a simple virtualization API
|
|||||||
License: LGPL-2.1+
|
License: LGPL-2.1+
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
|
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
Requires: %{name}-daemon = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-config-network = %{version}-%{release}
|
Requires: %{name}-daemon-config-network = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-config-nwfilter = %{version}-%{release}
|
Requires: %{name}-daemon-config-nwfilter = %{version}-%{release}
|
||||||
%if %{with_libxl}
|
%if %{with_libxl}
|
||||||
Requires: libvirt-daemon-driver-libxl = %{version}-%{release}
|
Requires: %{name}-daemon-driver-libxl = %{version}-%{release}
|
||||||
%endif
|
%endif
|
||||||
%if %{with_lxc}
|
%if %{with_lxc}
|
||||||
Requires: libvirt-daemon-driver-lxc = %{version}-%{release}
|
Requires: %{name}-daemon-driver-lxc = %{version}-%{release}
|
||||||
%endif
|
%endif
|
||||||
%if %{with_qemu}
|
%if %{with_qemu}
|
||||||
Requires: libvirt-daemon-driver-qemu = %{version}-%{release}
|
Requires: %{name}-daemon-driver-qemu = %{version}-%{release}
|
||||||
%endif
|
%endif
|
||||||
%if %{with_uml}
|
%if %{with_uml}
|
||||||
Requires: libvirt-daemon-driver-uml = %{version}-%{release}
|
Requires: %{name}-daemon-driver-uml = %{version}-%{release}
|
||||||
%endif
|
%endif
|
||||||
%if %{with_xen}
|
%if %{with_xen}
|
||||||
Requires: libvirt-daemon-driver-xen = %{version}-%{release}
|
Requires: %{name}-daemon-driver-xen = %{version}-%{release}
|
||||||
%endif
|
%endif
|
||||||
%if %{with_vbox}
|
%if %{with_vbox}
|
||||||
Requires: libvirt-daemon-driver-vbox = %{version}-%{release}
|
Requires: %{name}-daemon-driver-vbox = %{version}-%{release}
|
||||||
%endif
|
%endif
|
||||||
Requires: libvirt-client = %{version}-%{release}
|
Requires: %{name}-client = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-interface = %{version}-%{release}
|
Requires: %{name}-daemon-driver-interface = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-network = %{version}-%{release}
|
Requires: %{name}-daemon-driver-network = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-nodedev = %{version}-%{release}
|
Requires: %{name}-daemon-driver-nodedev = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
|
Requires: %{name}-daemon-driver-nwfilter = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-secret = %{version}-%{release}
|
Requires: %{name}-daemon-driver-secret = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-storage = %{version}-%{release}
|
Requires: %{name}-daemon-driver-storage = %{version}-%{release}
|
||||||
Requires: libvirt-libs = %{version}-%{release}
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
|
|
||||||
# All build-time requirements. Run-time requirements are
|
# All build-time requirements. Run-time requirements are
|
||||||
# listed against each sub-RPM
|
# listed against each sub-RPM
|
||||||
@ -398,8 +398,8 @@ for specific drivers.
|
|||||||
Summary: Default configuration files for the libvirtd daemon
|
Summary: Default configuration files for the libvirtd daemon
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
|
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
Requires: %{name}-daemon = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-network = %{version}-%{release}
|
Requires: %{name}-daemon-driver-network = %{version}-%{release}
|
||||||
|
|
||||||
%description daemon-config-network
|
%description daemon-config-network
|
||||||
Default configuration files for setting up NAT based networking
|
Default configuration files for setting up NAT based networking
|
||||||
@ -408,8 +408,8 @@ Default configuration files for setting up NAT based networking
|
|||||||
Summary: Network filter configuration files for the libvirtd
|
Summary: Network filter configuration files for the libvirtd
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
|
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
Requires: %{name}-daemon = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
|
Requires: %{name}-daemon-driver-nwfilter = %{version}-%{release}
|
||||||
|
|
||||||
%description daemon-config-nwfilter
|
%description daemon-config-nwfilter
|
||||||
Network filter configuration files for the libvirt daemon, used for
|
Network filter configuration files for the libvirt daemon, used for
|
||||||
@ -421,7 +421,7 @@ Group: Development/Libraries/C and C++
|
|||||||
Requires: dnsmasq >= 2.41
|
Requires: dnsmasq >= 2.41
|
||||||
Requires: iptables
|
Requires: iptables
|
||||||
# TODO Requires: iptables-ipv6
|
# TODO Requires: iptables-ipv6
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
Requires: %{name}-daemon = %{version}-%{release}
|
||||||
Requires: radvd
|
Requires: radvd
|
||||||
|
|
||||||
%description daemon-driver-network
|
%description daemon-driver-network
|
||||||
@ -435,7 +435,7 @@ Group: Development/Libraries/C and C++
|
|||||||
Requires: ebtables
|
Requires: ebtables
|
||||||
Requires: iptables
|
Requires: iptables
|
||||||
# TODO Requires: iptables-ipv6
|
# TODO Requires: iptables-ipv6
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
Requires: %{name}-daemon = %{version}-%{release}
|
||||||
|
|
||||||
%description daemon-driver-nwfilter
|
%description daemon-driver-nwfilter
|
||||||
The nwfilter driver plugin for the libvirtd daemon, providing
|
The nwfilter driver plugin for the libvirtd daemon, providing
|
||||||
@ -445,7 +445,7 @@ iptables and ip6tables capabilities
|
|||||||
%package daemon-driver-nodedev
|
%package daemon-driver-nodedev
|
||||||
Summary: Nodedev driver plugin for the libvirtd daemon
|
Summary: Nodedev driver plugin for the libvirtd daemon
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
Requires: %{name}-daemon = %{version}-%{release}
|
||||||
|
|
||||||
%description daemon-driver-nodedev
|
%description daemon-driver-nodedev
|
||||||
The nodedev driver plugin for the libvirtd daemon, providing
|
The nodedev driver plugin for the libvirtd daemon, providing
|
||||||
@ -455,7 +455,7 @@ capabilities.
|
|||||||
%package daemon-driver-interface
|
%package daemon-driver-interface
|
||||||
Summary: Interface driver plugin for the libvirtd daemon
|
Summary: Interface driver plugin for the libvirtd daemon
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
Requires: %{name}-daemon = %{version}-%{release}
|
||||||
|
|
||||||
%description daemon-driver-interface
|
%description daemon-driver-interface
|
||||||
The interface driver plugin for the libvirtd daemon, providing
|
The interface driver plugin for the libvirtd daemon, providing
|
||||||
@ -465,7 +465,7 @@ netcontrol library
|
|||||||
%package daemon-driver-secret
|
%package daemon-driver-secret
|
||||||
Summary: Secret driver plugin for the libvirtd daemon
|
Summary: Secret driver plugin for the libvirtd daemon
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
Requires: %{name}-daemon = %{version}-%{release}
|
||||||
|
|
||||||
%description daemon-driver-secret
|
%description daemon-driver-secret
|
||||||
The secret driver plugin for the libvirtd daemon, providing
|
The secret driver plugin for the libvirtd daemon, providing
|
||||||
@ -474,7 +474,7 @@ an implementation of the secret key APIs.
|
|||||||
%package daemon-driver-storage-core
|
%package daemon-driver-storage-core
|
||||||
Summary: Storage driver plugin including base backends for the libvirtd daemon
|
Summary: Storage driver plugin including base backends for the libvirtd daemon
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
Requires: %{name}-daemon = %{version}-%{release}
|
||||||
Requires: nfs-utils
|
Requires: nfs-utils
|
||||||
# For mkfs
|
# For mkfs
|
||||||
Requires: util-linux
|
Requires: util-linux
|
||||||
@ -491,7 +491,7 @@ iSCSI, and multipath storage.
|
|||||||
%package daemon-driver-storage-logical
|
%package daemon-driver-storage-logical
|
||||||
Summary: Storage driver plugin for lvm volumes
|
Summary: Storage driver plugin for lvm volumes
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libvirt-daemon-driver-storage-core = %{version}-%{release}
|
Requires: %{name}-daemon-driver-storage-core = %{version}-%{release}
|
||||||
Requires: lvm2
|
Requires: lvm2
|
||||||
|
|
||||||
%description daemon-driver-storage-logical
|
%description daemon-driver-storage-logical
|
||||||
@ -501,8 +501,8 @@ volumes using lvm.
|
|||||||
%package daemon-driver-storage-disk
|
%package daemon-driver-storage-disk
|
||||||
Summary: Storage driver plugin for disk
|
Summary: Storage driver plugin for disk
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: %{name}-daemon-driver-storage-core = %{version}-%{release}
|
||||||
Requires: device-mapper
|
Requires: device-mapper
|
||||||
Requires: libvirt-daemon-driver-storage-core = %{version}-%{release}
|
|
||||||
Requires: parted
|
Requires: parted
|
||||||
|
|
||||||
%description daemon-driver-storage-disk
|
%description daemon-driver-storage-disk
|
||||||
@ -512,7 +512,7 @@ volumes using the host disks.
|
|||||||
%package daemon-driver-storage-scsi
|
%package daemon-driver-storage-scsi
|
||||||
Summary: Storage driver plugin for local scsi devices
|
Summary: Storage driver plugin for local scsi devices
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libvirt-daemon-driver-storage-core = %{version}-%{release}
|
Requires: %{name}-daemon-driver-storage-core = %{version}-%{release}
|
||||||
|
|
||||||
%description daemon-driver-storage-scsi
|
%description daemon-driver-storage-scsi
|
||||||
The storage driver backend adding implementation of the storage APIs for scsi
|
The storage driver backend adding implementation of the storage APIs for scsi
|
||||||
@ -521,7 +521,7 @@ host devices.
|
|||||||
%package daemon-driver-storage-iscsi
|
%package daemon-driver-storage-iscsi
|
||||||
Summary: Storage driver plugin for iscsi
|
Summary: Storage driver plugin for iscsi
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libvirt-daemon-driver-storage-core = %{version}-%{release}
|
Requires: %{name}-daemon-driver-storage-core = %{version}-%{release}
|
||||||
Requires: open-iscsi
|
Requires: open-iscsi
|
||||||
|
|
||||||
%description daemon-driver-storage-iscsi
|
%description daemon-driver-storage-iscsi
|
||||||
@ -531,8 +531,8 @@ volumes using the host iscsi stack.
|
|||||||
%package daemon-driver-storage-mpath
|
%package daemon-driver-storage-mpath
|
||||||
Summary: Storage driver plugin for multipath volumes
|
Summary: Storage driver plugin for multipath volumes
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: %{name}-daemon-driver-storage-core = %{version}-%{release}
|
||||||
Requires: device-mapper
|
Requires: device-mapper
|
||||||
Requires: libvirt-daemon-driver-storage-core = %{version}-%{release}
|
|
||||||
|
|
||||||
%description daemon-driver-storage-mpath
|
%description daemon-driver-storage-mpath
|
||||||
The storage driver backend adding implementation of the storage APIs for
|
The storage driver backend adding implementation of the storage APIs for
|
||||||
@ -543,7 +543,7 @@ multipath storage using device mapper.
|
|||||||
%package daemon-driver-storage-gluster
|
%package daemon-driver-storage-gluster
|
||||||
Summary: Storage driver plugin for gluster
|
Summary: Storage driver plugin for gluster
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libvirt-daemon-driver-storage-core = %{version}-%{release}
|
Requires: %{name}-daemon-driver-storage-core = %{version}-%{release}
|
||||||
|
|
||||||
%description daemon-driver-storage-gluster
|
%description daemon-driver-storage-gluster
|
||||||
The storage driver backend adding implementation of the storage APIs for gluster
|
The storage driver backend adding implementation of the storage APIs for gluster
|
||||||
@ -554,7 +554,7 @@ volumes using libgfapi.
|
|||||||
%package daemon-driver-storage-rbd
|
%package daemon-driver-storage-rbd
|
||||||
Summary: Storage driver plugin for rbd
|
Summary: Storage driver plugin for rbd
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libvirt-daemon-driver-storage-core = %{version}-%{release}
|
Requires: %{name}-daemon-driver-storage-core = %{version}-%{release}
|
||||||
|
|
||||||
%description daemon-driver-storage-rbd
|
%description daemon-driver-storage-rbd
|
||||||
The storage driver backend adding implementation of the storage APIs for rbd
|
The storage driver backend adding implementation of the storage APIs for rbd
|
||||||
@ -565,7 +565,7 @@ volumes using the ceph protocol.
|
|||||||
%package daemon-driver-storage-sheepdog
|
%package daemon-driver-storage-sheepdog
|
||||||
Summary: Storage driver plugin for sheepdog
|
Summary: Storage driver plugin for sheepdog
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libvirt-daemon-driver-storage-core = %{version}-%{release}
|
Requires: %{name}-daemon-driver-storage-core = %{version}-%{release}
|
||||||
Requires: sheepdog
|
Requires: sheepdog
|
||||||
|
|
||||||
%description daemon-driver-storage-sheepdog
|
%description daemon-driver-storage-sheepdog
|
||||||
@ -576,20 +576,20 @@ sheepdog volumes using.
|
|||||||
%package daemon-driver-storage
|
%package daemon-driver-storage
|
||||||
Summary: Storage driver plugin including all backends for the libvirtd daemon
|
Summary: Storage driver plugin including all backends for the libvirtd daemon
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libvirt-daemon-driver-storage-core = %{version}-%{release}
|
Requires: %{name}-daemon-driver-storage-core = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-storage-disk = %{version}-%{release}
|
Requires: %{name}-daemon-driver-storage-disk = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-storage-iscsi = %{version}-%{release}
|
Requires: %{name}-daemon-driver-storage-iscsi = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-storage-logical = %{version}-%{release}
|
Requires: %{name}-daemon-driver-storage-logical = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-storage-mpath = %{version}-%{release}
|
Requires: %{name}-daemon-driver-storage-mpath = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-storage-scsi = %{version}-%{release}
|
Requires: %{name}-daemon-driver-storage-scsi = %{version}-%{release}
|
||||||
%if %{with_storage_gluster}
|
%if %{with_storage_gluster}
|
||||||
Requires: libvirt-daemon-driver-storage-gluster = %{version}-%{release}
|
Requires: %{name}-daemon-driver-storage-gluster = %{version}-%{release}
|
||||||
%endif
|
%endif
|
||||||
%if %{with_storage_rbd}
|
%if %{with_storage_rbd}
|
||||||
Requires: libvirt-daemon-driver-storage-rbd = %{version}-%{release}
|
Requires: %{name}-daemon-driver-storage-rbd = %{version}-%{release}
|
||||||
%endif
|
%endif
|
||||||
%if %{with_storage_sheepdog}
|
%if %{with_storage_sheepdog}
|
||||||
Requires: libvirt-daemon-driver-storage-sheepdog = %{version}-%{release}
|
Requires: %{name}-daemon-driver-storage-sheepdog = %{version}-%{release}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description daemon-driver-storage
|
%description daemon-driver-storage
|
||||||
@ -602,11 +602,11 @@ parted and more.
|
|||||||
%package daemon-driver-qemu
|
%package daemon-driver-qemu
|
||||||
Summary: Qemu driver plugin for the libvirtd daemon
|
Summary: Qemu driver plugin for the libvirtd daemon
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
Requires: %{name}-daemon = %{version}-%{release}
|
||||||
# There really is a hard cross-driver dependency here
|
# There really is a hard cross-driver dependency here
|
||||||
|
Requires: %{name}-daemon-driver-network = %{version}-%{release}
|
||||||
|
Requires: %{name}-daemon-driver-storage-core = %{version}-%{release}
|
||||||
Requires: /usr/bin/qemu-img
|
Requires: /usr/bin/qemu-img
|
||||||
Requires: libvirt-daemon-driver-network = %{version}-%{release}
|
|
||||||
Requires: libvirt-daemon-driver-storage-core = %{version}-%{release}
|
|
||||||
# For image compression
|
# For image compression
|
||||||
Requires: bzip2
|
Requires: bzip2
|
||||||
Requires: gzip
|
Requires: gzip
|
||||||
@ -624,9 +624,9 @@ an implementation of the hypervisor driver APIs using QEMU.
|
|||||||
%package daemon-driver-lxc
|
%package daemon-driver-lxc
|
||||||
Summary: LXC driver plugin for the libvirtd daemon
|
Summary: LXC driver plugin for the libvirtd daemon
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
Requires: %{name}-daemon = %{version}-%{release}
|
||||||
# There really is a hard cross-driver dependency here
|
# There really is a hard cross-driver dependency here
|
||||||
Requires: libvirt-daemon-driver-network = %{version}-%{release}
|
Requires: %{name}-daemon-driver-network = %{version}-%{release}
|
||||||
|
|
||||||
%description daemon-driver-lxc
|
%description daemon-driver-lxc
|
||||||
The LXC driver plugin for the libvirtd daemon, providing
|
The LXC driver plugin for the libvirtd daemon, providing
|
||||||
@ -639,7 +639,7 @@ the Linux kernel
|
|||||||
%package daemon-driver-uml
|
%package daemon-driver-uml
|
||||||
Summary: Uml driver plugin for the libvirtd daemon
|
Summary: Uml driver plugin for the libvirtd daemon
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
Requires: %{name}-daemon = %{version}-%{release}
|
||||||
|
|
||||||
%description daemon-driver-uml
|
%description daemon-driver-uml
|
||||||
The UML driver plugin for the libvirtd daemon, providing
|
The UML driver plugin for the libvirtd daemon, providing
|
||||||
@ -652,7 +652,7 @@ User Mode Linux
|
|||||||
%package daemon-driver-xen
|
%package daemon-driver-xen
|
||||||
Summary: Xen driver plugin for the libvirtd daemon
|
Summary: Xen driver plugin for the libvirtd daemon
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
Requires: %{name}-daemon = %{version}-%{release}
|
||||||
|
|
||||||
%description daemon-driver-xen
|
%description daemon-driver-xen
|
||||||
The Xen driver plugin for the libvirtd daemon, providing
|
The Xen driver plugin for the libvirtd daemon, providing
|
||||||
@ -664,7 +664,7 @@ an implementation of the hypervisor driver APIs using Xen.
|
|||||||
%package daemon-driver-vbox
|
%package daemon-driver-vbox
|
||||||
Summary: VirtualBox driver plugin for the libvirtd daemon
|
Summary: VirtualBox driver plugin for the libvirtd daemon
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
Requires: %{name}-daemon = %{version}-%{release}
|
||||||
|
|
||||||
%description daemon-driver-vbox
|
%description daemon-driver-vbox
|
||||||
The vbox driver plugin for the libvirtd daemon, providing
|
The vbox driver plugin for the libvirtd daemon, providing
|
||||||
@ -677,7 +677,7 @@ VirtualBox
|
|||||||
%package daemon-driver-libxl
|
%package daemon-driver-libxl
|
||||||
Summary: Libxl driver plugin for the libvirtd daemon
|
Summary: Libxl driver plugin for the libvirtd daemon
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
Requires: %{name}-daemon = %{version}-%{release}
|
||||||
|
|
||||||
%description daemon-driver-libxl
|
%description daemon-driver-libxl
|
||||||
The Libxl driver plugin for the libvirtd daemon, providing
|
The Libxl driver plugin for the libvirtd daemon, providing
|
||||||
@ -690,14 +690,14 @@ an implementation of the hypervisor driver APIs using libxl.
|
|||||||
Summary: Server side daemon & driver required to run QEMU guests
|
Summary: Server side daemon & driver required to run QEMU guests
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
|
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
Requires: %{name}-daemon = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-interface = %{version}-%{release}
|
Requires: %{name}-daemon-driver-interface = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-network = %{version}-%{release}
|
Requires: %{name}-daemon-driver-network = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-nodedev = %{version}-%{release}
|
Requires: %{name}-daemon-driver-nodedev = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
|
Requires: %{name}-daemon-driver-nwfilter = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-qemu = %{version}-%{release}
|
Requires: %{name}-daemon-driver-qemu = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-secret = %{version}-%{release}
|
Requires: %{name}-daemon-driver-secret = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-storage = %{version}-%{release}
|
Requires: %{name}-daemon-driver-storage = %{version}-%{release}
|
||||||
|
|
||||||
%description daemon-qemu
|
%description daemon-qemu
|
||||||
Server side daemon and driver required to manage the virtualization
|
Server side daemon and driver required to manage the virtualization
|
||||||
@ -710,14 +710,14 @@ capabilities of the QEMU emulators
|
|||||||
Summary: Server side daemon & driver required to run LXC guests
|
Summary: Server side daemon & driver required to run LXC guests
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
|
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
Requires: %{name}-daemon = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-interface = %{version}-%{release}
|
Requires: %{name}-daemon-driver-interface = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-lxc = %{version}-%{release}
|
Requires: %{name}-daemon-driver-lxc = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-network = %{version}-%{release}
|
Requires: %{name}-daemon-driver-network = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-nodedev = %{version}-%{release}
|
Requires: %{name}-daemon-driver-nodedev = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
|
Requires: %{name}-daemon-driver-nwfilter = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-secret = %{version}-%{release}
|
Requires: %{name}-daemon-driver-secret = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-storage = %{version}-%{release}
|
Requires: %{name}-daemon-driver-storage = %{version}-%{release}
|
||||||
|
|
||||||
%description daemon-lxc
|
%description daemon-lxc
|
||||||
Server side daemon and driver required to manage the virtualization
|
Server side daemon and driver required to manage the virtualization
|
||||||
@ -730,14 +730,14 @@ capabilities of LXC
|
|||||||
Summary: Server side daemon & driver required to run UML guests
|
Summary: Server side daemon & driver required to run UML guests
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
|
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
Requires: %{name}-daemon = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-interface = %{version}-%{release}
|
Requires: %{name}-daemon-driver-interface = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-network = %{version}-%{release}
|
Requires: %{name}-daemon-driver-network = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-nodedev = %{version}-%{release}
|
Requires: %{name}-daemon-driver-nodedev = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
|
Requires: %{name}-daemon-driver-nwfilter = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-secret = %{version}-%{release}
|
Requires: %{name}-daemon-driver-secret = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-storage = %{version}-%{release}
|
Requires: %{name}-daemon-driver-storage = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-uml = %{version}-%{release}
|
Requires: %{name}-daemon-driver-uml = %{version}-%{release}
|
||||||
|
|
||||||
%description daemon-uml
|
%description daemon-uml
|
||||||
Server side daemon and driver required to manage the virtualization
|
Server side daemon and driver required to manage the virtualization
|
||||||
@ -750,19 +750,19 @@ capabilities of UML
|
|||||||
Summary: Server side daemon & driver required to run XEN guests
|
Summary: Server side daemon & driver required to run XEN guests
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
|
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
Requires: %{name}-daemon = %{version}-%{release}
|
||||||
%if %{with_xen}
|
%if %{with_xen}
|
||||||
Requires: libvirt-daemon-driver-xen = %{version}-%{release}
|
Requires: %{name}-daemon-driver-xen = %{version}-%{release}
|
||||||
%endif
|
%endif
|
||||||
%if %{with_libxl}
|
%if %{with_libxl}
|
||||||
Requires: libvirt-daemon-driver-libxl = %{version}-%{release}
|
Requires: %{name}-daemon-driver-libxl = %{version}-%{release}
|
||||||
%endif
|
%endif
|
||||||
Requires: libvirt-daemon-driver-interface = %{version}-%{release}
|
Requires: %{name}-daemon-driver-interface = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-network = %{version}-%{release}
|
Requires: %{name}-daemon-driver-network = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-nodedev = %{version}-%{release}
|
Requires: %{name}-daemon-driver-nodedev = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
|
Requires: %{name}-daemon-driver-nwfilter = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-secret = %{version}-%{release}
|
Requires: %{name}-daemon-driver-secret = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-storage = %{version}-%{release}
|
Requires: %{name}-daemon-driver-storage = %{version}-%{release}
|
||||||
Requires: xen
|
Requires: xen
|
||||||
|
|
||||||
%description daemon-xen
|
%description daemon-xen
|
||||||
@ -775,14 +775,14 @@ capabilities of XEN
|
|||||||
%package daemon-vbox
|
%package daemon-vbox
|
||||||
Summary: Server side daemon & driver required to run VirtualBox guests
|
Summary: Server side daemon & driver required to run VirtualBox guests
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
Requires: %{name}-daemon = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-interface = %{version}-%{release}
|
Requires: %{name}-daemon-driver-interface = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-network = %{version}-%{release}
|
Requires: %{name}-daemon-driver-network = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-nodedev = %{version}-%{release}
|
Requires: %{name}-daemon-driver-nodedev = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
|
Requires: %{name}-daemon-driver-nwfilter = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-secret = %{version}-%{release}
|
Requires: %{name}-daemon-driver-secret = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-storage = %{version}-%{release}
|
Requires: %{name}-daemon-driver-storage = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-vbox = %{version}-%{release}
|
Requires: %{name}-daemon-driver-vbox = %{version}-%{release}
|
||||||
# Specify supported virtualbox API explicitly. See ./src/vbox
|
# Specify supported virtualbox API explicitly. See ./src/vbox
|
||||||
# Reference bsc#1017189
|
# Reference bsc#1017189
|
||||||
Requires: virtualbox < 5.2
|
Requires: virtualbox < 5.2
|
||||||
@ -871,7 +871,7 @@ Wireshark dissector plugin for better analysis of libvirt RPC traffic.
|
|||||||
%package nss
|
%package nss
|
||||||
Summary: Libvirt plugin for Name Service Switch
|
Summary: Libvirt plugin for Name Service Switch
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libvirt-daemon-driver-network = %{version}-%{release}
|
Requires: %{name}-daemon-driver-network = %{version}-%{release}
|
||||||
|
|
||||||
%description nss
|
%description nss
|
||||||
libvirt plugin for NSS for translating domain names into IP addresses.
|
libvirt plugin for NSS for translating domain names into IP addresses.
|
||||||
@ -1290,7 +1290,7 @@ fi
|
|||||||
# sockets, if libvirtd is already enabled and start them if
|
# sockets, if libvirtd is already enabled and start them if
|
||||||
# libvirtd is running, otherwise you'll get failures to start
|
# libvirtd is running, otherwise you'll get failures to start
|
||||||
# guests
|
# guests
|
||||||
%triggerpostun daemon -- libvirt-daemon < 1.3.0
|
%triggerpostun daemon -- %{name}-daemon < 1.3.0
|
||||||
if [ $1 -ge 1 ] ; then
|
if [ $1 -ge 1 ] ; then
|
||||||
/usr/bin/systemctl is-enabled libvirtd.service 1>/dev/null 2>&1 &&
|
/usr/bin/systemctl is-enabled libvirtd.service 1>/dev/null 2>&1 &&
|
||||||
/usr/bin/systemctl enable virtlogd.socket || :
|
/usr/bin/systemctl enable virtlogd.socket || :
|
||||||
@ -1323,17 +1323,13 @@ fi
|
|||||||
%postun client
|
%postun client
|
||||||
%service_del_postun libvirt-guests.service
|
%service_del_postun libvirt-guests.service
|
||||||
|
|
||||||
%post libs
|
%post libs -p /sbin/ldconfig
|
||||||
/sbin/ldconfig
|
|
||||||
|
|
||||||
%postun libs
|
%postun libs -p /sbin/ldconfig
|
||||||
/sbin/ldconfig
|
|
||||||
|
|
||||||
%post nss
|
%post nss -p /sbin/ldconfig
|
||||||
/sbin/ldconfig
|
|
||||||
|
|
||||||
%postun nss
|
%postun nss -p /sbin/ldconfig
|
||||||
/sbin/ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc %{_docdir}/%{name}/libvirt.README
|
%doc %{_docdir}/%{name}/libvirt.README
|
||||||
|
Loading…
Reference in New Issue
Block a user