libvirt-9.1.0-1
Update to version 9.1.0
This commit is contained in:
parent
619904f37a
commit
c1a3411c3b
343
libvirt.spec
343
libvirt.spec
@ -228,9 +228,9 @@
|
|||||||
|
|
||||||
Summary: Library providing a simple virtualization API
|
Summary: Library providing a simple virtualization API
|
||||||
Name: libvirt
|
Name: libvirt
|
||||||
Version: 9.0.0
|
Version: 9.1.0
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
License: LGPLv2+
|
License: GPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND OFL-1.1
|
||||||
URL: https://libvirt.org/
|
URL: https://libvirt.org/
|
||||||
|
|
||||||
%if %(echo %{version} | grep -q "\.0$"; echo $?) == 1
|
%if %(echo %{version} | grep -q "\.0$"; echo $?) == 1
|
||||||
@ -432,19 +432,25 @@ Summary: Server side daemon and supporting files for libvirt library
|
|||||||
|
|
||||||
# The client side, i.e. shared libs are in a subpackage
|
# The client side, i.e. shared libs are in a subpackage
|
||||||
Requires: libvirt-libs = %{version}-%{release}
|
Requires: libvirt-libs = %{version}-%{release}
|
||||||
|
Requires: libvirt-daemon-common = %{version}-%{release}
|
||||||
|
Requires: libvirt-daemon-lock = %{version}-%{release}
|
||||||
|
Requires: libvirt-daemon-plugin-lockd = %{version}-%{release}
|
||||||
|
Requires: libvirt-daemon-log = %{version}-%{release}
|
||||||
|
Requires: libvirt-daemon-proxy = %{version}-%{release}
|
||||||
|
|
||||||
|
%description daemon
|
||||||
|
Server side daemon required to manage the virtualization capabilities
|
||||||
|
of recent versions of Linux. Requires a hypervisor specific sub-RPM
|
||||||
|
for specific drivers.
|
||||||
|
|
||||||
|
%package daemon-common
|
||||||
|
Summary: Files and utilities used by daemons
|
||||||
|
Requires: libvirt-libs = %{version}-%{release}
|
||||||
# The libvirt-guests.sh script requires virsh from libvirt-client subpackage,
|
# The libvirt-guests.sh script requires virsh from libvirt-client subpackage,
|
||||||
# but not every deployment wants to use libvirt-guests service. Using
|
# but not every deployment wants to use libvirt-guests service. Using
|
||||||
# Recommends here will install libvirt-client by default (if available), but
|
# Recommends here will install libvirt-client by default (if available), but
|
||||||
# RPM won't complain if the package is unavailable, masked, or removed later.
|
# RPM won't complain if the package is unavailable, masked, or removed later.
|
||||||
Recommends: libvirt-client = %{version}-%{release}
|
Recommends: libvirt-client = %{version}-%{release}
|
||||||
# netcat is needed on the server side so that clients that have
|
|
||||||
# libvirt < 6.9.0 can connect, but newer versions will prefer
|
|
||||||
# virt-ssh-helper. Making this a Recommends means that it gets
|
|
||||||
# installed by default, but can still be removed if compatibility
|
|
||||||
# with old clients is not required
|
|
||||||
Recommends: /usr/bin/nc
|
|
||||||
# for modprobe of pci devices
|
|
||||||
Requires: module-init-tools
|
|
||||||
# for /sbin/ip
|
# for /sbin/ip
|
||||||
Requires: iproute
|
Requires: iproute
|
||||||
# for /sbin/tc
|
# for /sbin/tc
|
||||||
@ -456,9 +462,6 @@ Requires: dmidecode
|
|||||||
%endif
|
%endif
|
||||||
# For service management
|
# For service management
|
||||||
Requires(post): /usr/bin/systemctl
|
Requires(post): /usr/bin/systemctl
|
||||||
%if %{with_numad}
|
|
||||||
Requires: numad
|
|
||||||
%endif
|
|
||||||
# libvirtd depends on 'messagebus' service
|
# libvirtd depends on 'messagebus' service
|
||||||
Requires: dbus
|
Requires: dbus
|
||||||
# For uid creation during pre
|
# For uid creation during pre
|
||||||
@ -475,15 +478,50 @@ Obsoletes: libvirt-admin < 7.3.0
|
|||||||
Provides: libvirt-admin = %{version}-%{release}
|
Provides: libvirt-admin = %{version}-%{release}
|
||||||
Obsoletes: libvirt-bash-completion < 7.3.0
|
Obsoletes: libvirt-bash-completion < 7.3.0
|
||||||
|
|
||||||
%description daemon
|
%description daemon-common
|
||||||
Server side daemon required to manage the virtualization capabilities
|
Miscellaneous files and utilities used by other libvirt daemons
|
||||||
of recent versions of Linux. Requires a hypervisor specific sub-RPM
|
|
||||||
for specific drivers.
|
%package daemon-lock
|
||||||
|
Summary: Server side daemon for managing locks
|
||||||
|
Requires: libvirt-libs = %{version}-%{release}
|
||||||
|
|
||||||
|
%description daemon-lock
|
||||||
|
Server side daemon used to manage locks held against virtual machine
|
||||||
|
resources
|
||||||
|
|
||||||
|
%package daemon-plugin-lockd
|
||||||
|
Summary: lockd client plugin for virtlockd
|
||||||
|
Requires: libvirt-libs = %{version}-%{release}
|
||||||
|
Requires: libvirt-daemon-lock = %{version}-%{release}
|
||||||
|
|
||||||
|
%description daemon-plugin-lockd
|
||||||
|
A client-side plugin that implements disk locking using POSIX fcntl advisory
|
||||||
|
locks via communication with the virtlockd daemon
|
||||||
|
|
||||||
|
%package daemon-log
|
||||||
|
Summary: Server side daemon for managing logs
|
||||||
|
Requires: libvirt-libs = %{version}-%{release}
|
||||||
|
|
||||||
|
%description daemon-log
|
||||||
|
Server side daemon used to manage logs from virtual machine consoles
|
||||||
|
|
||||||
|
%package daemon-proxy
|
||||||
|
Summary: Server side daemon providing libvirtd proxy
|
||||||
|
Requires: libvirt-libs = %{version}-%{release}
|
||||||
|
# netcat is needed on the server side so that clients that have
|
||||||
|
# libvirt < 6.9.0 can connect, but newer versions will prefer
|
||||||
|
# virt-ssh-helper. Making this a Recommends means that it gets
|
||||||
|
# installed by default, but can still be removed if compatibility
|
||||||
|
# with old clients is not required
|
||||||
|
Recommends: /usr/bin/nc
|
||||||
|
|
||||||
|
%description daemon-proxy
|
||||||
|
Server side daemon providing functionality previously provided by
|
||||||
|
the monolithic libvirtd
|
||||||
|
|
||||||
%package daemon-config-network
|
%package daemon-config-network
|
||||||
Summary: Default configuration files for the libvirtd daemon
|
Summary: Default configuration files for the libvirtd daemon
|
||||||
|
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
|
||||||
Requires: libvirt-daemon-driver-network = %{version}-%{release}
|
Requires: libvirt-daemon-driver-network = %{version}-%{release}
|
||||||
|
|
||||||
%description daemon-config-network
|
%description daemon-config-network
|
||||||
@ -492,7 +530,6 @@ Default configuration files for setting up NAT based networking
|
|||||||
%package daemon-config-nwfilter
|
%package daemon-config-nwfilter
|
||||||
Summary: Network filter configuration files for the libvirtd daemon
|
Summary: Network filter configuration files for the libvirtd daemon
|
||||||
|
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
|
||||||
Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
|
Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
|
||||||
|
|
||||||
%description daemon-config-nwfilter
|
%description daemon-config-nwfilter
|
||||||
@ -500,7 +537,7 @@ Network filter configuration files for cleaning guest traffic
|
|||||||
|
|
||||||
%package daemon-driver-network
|
%package daemon-driver-network
|
||||||
Summary: Network driver plugin for the libvirtd daemon
|
Summary: Network driver plugin for the libvirtd daemon
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
Requires: libvirt-daemon-common = %{version}-%{release}
|
||||||
Requires: libvirt-libs = %{version}-%{release}
|
Requires: libvirt-libs = %{version}-%{release}
|
||||||
Requires: dnsmasq >= 2.41
|
Requires: dnsmasq >= 2.41
|
||||||
Requires: iptables
|
Requires: iptables
|
||||||
@ -512,7 +549,7 @@ bridge capabilities.
|
|||||||
|
|
||||||
%package daemon-driver-nwfilter
|
%package daemon-driver-nwfilter
|
||||||
Summary: Nwfilter driver plugin for the libvirtd daemon
|
Summary: Nwfilter driver plugin for the libvirtd daemon
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
Requires: libvirt-daemon-common = %{version}-%{release}
|
||||||
Requires: libvirt-libs = %{version}-%{release}
|
Requires: libvirt-libs = %{version}-%{release}
|
||||||
Requires: iptables
|
Requires: iptables
|
||||||
Requires: ebtables
|
Requires: ebtables
|
||||||
@ -524,12 +561,14 @@ 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
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
Requires: libvirt-daemon-common = %{version}-%{release}
|
||||||
Requires: libvirt-libs = %{version}-%{release}
|
Requires: libvirt-libs = %{version}-%{release}
|
||||||
# needed for device enumeration
|
# needed for device enumeration
|
||||||
Requires: systemd >= 185
|
Requires: systemd >= 185
|
||||||
# For managing persistent mediated devices
|
# For managing persistent mediated devices
|
||||||
Requires: mdevctl
|
Requires: mdevctl
|
||||||
|
# for modprobe of pci devices
|
||||||
|
Requires: module-init-tools
|
||||||
|
|
||||||
%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
|
||||||
@ -538,7 +577,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
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
Requires: libvirt-daemon-common = %{version}-%{release}
|
||||||
Requires: libvirt-libs = %{version}-%{release}
|
Requires: libvirt-libs = %{version}-%{release}
|
||||||
%if %{with_netcf}
|
%if %{with_netcf}
|
||||||
Requires: netcf-libs >= 0.2.2
|
Requires: netcf-libs >= 0.2.2
|
||||||
@ -550,7 +589,7 @@ an implementation of the host network interface APIs.
|
|||||||
|
|
||||||
%package daemon-driver-secret
|
%package daemon-driver-secret
|
||||||
Summary: Secret driver plugin for the libvirtd daemon
|
Summary: Secret driver plugin for the libvirtd daemon
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
Requires: libvirt-daemon-common = %{version}-%{release}
|
||||||
Requires: libvirt-libs = %{version}-%{release}
|
Requires: libvirt-libs = %{version}-%{release}
|
||||||
|
|
||||||
%description daemon-driver-secret
|
%description daemon-driver-secret
|
||||||
@ -559,7 +598,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
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
Requires: libvirt-daemon-common = %{version}-%{release}
|
||||||
Requires: libvirt-libs = %{version}-%{release}
|
Requires: libvirt-libs = %{version}-%{release}
|
||||||
Requires: nfs-utils
|
Requires: nfs-utils
|
||||||
# For mkfs
|
# For mkfs
|
||||||
@ -710,7 +749,8 @@ parted and more.
|
|||||||
%if %{with_qemu}
|
%if %{with_qemu}
|
||||||
%package daemon-driver-qemu
|
%package daemon-driver-qemu
|
||||||
Summary: QEMU driver plugin for the libvirtd daemon
|
Summary: QEMU driver plugin for the libvirtd daemon
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
Requires: libvirt-daemon-common = %{version}-%{release}
|
||||||
|
Requires: libvirt-daemon-log = %{version}-%{release}
|
||||||
Requires: libvirt-libs = %{version}-%{release}
|
Requires: libvirt-libs = %{version}-%{release}
|
||||||
Requires: /usr/bin/qemu-img
|
Requires: /usr/bin/qemu-img
|
||||||
# For image compression
|
# For image compression
|
||||||
@ -720,6 +760,9 @@ Requires: lzop
|
|||||||
Requires: xz
|
Requires: xz
|
||||||
Requires: systemd-container
|
Requires: systemd-container
|
||||||
Requires: swtpm-tools
|
Requires: swtpm-tools
|
||||||
|
%if %{with_numad}
|
||||||
|
Requires: numad
|
||||||
|
%endif
|
||||||
%if (0%{?fedora} >= 36) || (0%{?rhel} >= 9)
|
%if (0%{?fedora} >= 36) || (0%{?rhel} >= 9)
|
||||||
Recommends: passt
|
Recommends: passt
|
||||||
%endif
|
%endif
|
||||||
@ -733,11 +776,16 @@ QEMU
|
|||||||
%if %{with_lxc}
|
%if %{with_lxc}
|
||||||
%package daemon-driver-lxc
|
%package daemon-driver-lxc
|
||||||
Summary: LXC driver plugin for the libvirtd daemon
|
Summary: LXC driver plugin for the libvirtd daemon
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
Requires: libvirt-daemon-common = %{version}-%{release}
|
||||||
Requires: libvirt-libs = %{version}-%{release}
|
Requires: libvirt-libs = %{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: libvirt-daemon-driver-network = %{version}-%{release}
|
||||||
Requires: systemd-container
|
Requires: systemd-container
|
||||||
|
# for modprobe of nbd driver
|
||||||
|
Requires: module-init-tools
|
||||||
|
%if %{with_numad}
|
||||||
|
Requires: numad
|
||||||
|
%endif
|
||||||
|
|
||||||
%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
|
||||||
@ -748,7 +796,7 @@ the Linux kernel
|
|||||||
%if %{with_vbox}
|
%if %{with_vbox}
|
||||||
%package daemon-driver-vbox
|
%package daemon-driver-vbox
|
||||||
Summary: VirtualBox driver plugin for the libvirtd daemon
|
Summary: VirtualBox driver plugin for the libvirtd daemon
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
Requires: libvirt-daemon-common = %{version}-%{release}
|
||||||
Requires: libvirt-libs = %{version}-%{release}
|
Requires: libvirt-libs = %{version}-%{release}
|
||||||
|
|
||||||
%description daemon-driver-vbox
|
%description daemon-driver-vbox
|
||||||
@ -760,7 +808,7 @@ VirtualBox
|
|||||||
%if %{with_libxl}
|
%if %{with_libxl}
|
||||||
%package daemon-driver-libxl
|
%package daemon-driver-libxl
|
||||||
Summary: Libxl driver plugin for the libvirtd daemon
|
Summary: Libxl driver plugin for the libvirtd daemon
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
Requires: libvirt-daemon-common = %{version}-%{release}
|
||||||
Requires: libvirt-libs = %{version}-%{release}
|
Requires: libvirt-libs = %{version}-%{release}
|
||||||
Obsoletes: libvirt-daemon-driver-xen < 4.3.0
|
Obsoletes: libvirt-daemon-driver-xen < 4.3.0
|
||||||
|
|
||||||
@ -774,7 +822,15 @@ Libxl
|
|||||||
%package daemon-qemu
|
%package daemon-qemu
|
||||||
Summary: Server side daemon & driver required to run QEMU guests
|
Summary: Server side daemon & driver required to run QEMU guests
|
||||||
|
|
||||||
|
%if %{with_modular_daemons}
|
||||||
|
Requires: libvirt-daemon-common = %{version}-%{release}
|
||||||
|
Requires: libvirt-daemon-log = %{version}-%{release}
|
||||||
|
Requires: libvirt-daemon-lock = %{version}-%{release}
|
||||||
|
Requires: libvirt-daemon-plugin-lockd = %{version}-%{release}
|
||||||
|
Requires: libvirt-daemon-proxy = %{version}-%{release}
|
||||||
|
%else
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
Requires: libvirt-daemon = %{version}-%{release}
|
||||||
|
%endif
|
||||||
Requires: libvirt-daemon-driver-qemu = %{version}-%{release}
|
Requires: libvirt-daemon-driver-qemu = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-interface = %{version}-%{release}
|
Requires: libvirt-daemon-driver-interface = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-network = %{version}-%{release}
|
Requires: libvirt-daemon-driver-network = %{version}-%{release}
|
||||||
@ -793,7 +849,15 @@ capabilities of the QEMU TCG emulators
|
|||||||
%package daemon-kvm
|
%package daemon-kvm
|
||||||
Summary: Server side daemon & driver required to run KVM guests
|
Summary: Server side daemon & driver required to run KVM guests
|
||||||
|
|
||||||
|
%if %{with_modular_daemons}
|
||||||
|
Requires: libvirt-daemon-common = %{version}-%{release}
|
||||||
|
Requires: libvirt-daemon-log = %{version}-%{release}
|
||||||
|
Requires: libvirt-daemon-lock = %{version}-%{release}
|
||||||
|
Requires: libvirt-daemon-plugin-lockd = %{version}-%{release}
|
||||||
|
Requires: libvirt-daemon-proxy = %{version}-%{release}
|
||||||
|
%else
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
Requires: libvirt-daemon = %{version}-%{release}
|
||||||
|
%endif
|
||||||
Requires: libvirt-daemon-driver-qemu = %{version}-%{release}
|
Requires: libvirt-daemon-driver-qemu = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-interface = %{version}-%{release}
|
Requires: libvirt-daemon-driver-interface = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-network = %{version}-%{release}
|
Requires: libvirt-daemon-driver-network = %{version}-%{release}
|
||||||
@ -812,7 +876,12 @@ capabilities of the KVM hypervisor
|
|||||||
%package daemon-lxc
|
%package daemon-lxc
|
||||||
Summary: Server side daemon & driver required to run LXC guests
|
Summary: Server side daemon & driver required to run LXC guests
|
||||||
|
|
||||||
|
%if %{with_modular_daemons}
|
||||||
|
Requires: libvirt-daemon-common = %{version}-%{release}
|
||||||
|
Requires: libvirt-daemon-proxy = %{version}-%{release}
|
||||||
|
%else
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
Requires: libvirt-daemon = %{version}-%{release}
|
||||||
|
%endif
|
||||||
Requires: libvirt-daemon-driver-lxc = %{version}-%{release}
|
Requires: libvirt-daemon-driver-lxc = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-interface = %{version}-%{release}
|
Requires: libvirt-daemon-driver-interface = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-network = %{version}-%{release}
|
Requires: libvirt-daemon-driver-network = %{version}-%{release}
|
||||||
@ -830,7 +899,14 @@ capabilities of LXC
|
|||||||
%package daemon-xen
|
%package daemon-xen
|
||||||
Summary: Server side daemon & driver required to run XEN guests
|
Summary: Server side daemon & driver required to run XEN guests
|
||||||
|
|
||||||
|
%if %{with_modular_daemons}
|
||||||
|
Requires: libvirt-daemon-common = %{version}-%{release}
|
||||||
|
Requires: libvirt-daemon-lock = %{version}-%{release}
|
||||||
|
Requires: libvirt-daemon-plugin-lockd = %{version}-%{release}
|
||||||
|
Requires: libvirt-daemon-proxy = %{version}-%{release}
|
||||||
|
%else
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
Requires: libvirt-daemon = %{version}-%{release}
|
||||||
|
%endif
|
||||||
Requires: libvirt-daemon-driver-libxl = %{version}-%{release}
|
Requires: libvirt-daemon-driver-libxl = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-interface = %{version}-%{release}
|
Requires: libvirt-daemon-driver-interface = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-network = %{version}-%{release}
|
Requires: libvirt-daemon-driver-network = %{version}-%{release}
|
||||||
@ -849,7 +925,12 @@ 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
|
||||||
|
|
||||||
|
%if %{with_modular_daemons}
|
||||||
|
Requires: libvirt-daemon-common = %{version}-%{release}
|
||||||
|
Requires: libvirt-daemon-proxy = %{version}-%{release}
|
||||||
|
%else
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
Requires: libvirt-daemon = %{version}-%{release}
|
||||||
|
%endif
|
||||||
Requires: libvirt-daemon-driver-vbox = %{version}-%{release}
|
Requires: libvirt-daemon-driver-vbox = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-interface = %{version}-%{release}
|
Requires: libvirt-daemon-driver-interface = %{version}-%{release}
|
||||||
Requires: libvirt-daemon-driver-network = %{version}-%{release}
|
Requires: libvirt-daemon-driver-network = %{version}-%{release}
|
||||||
@ -880,6 +961,8 @@ capabilities of recent versions of Linux (and other OSes).
|
|||||||
Summary: Additional client side utilities for QEMU
|
Summary: Additional client side utilities for QEMU
|
||||||
Requires: libvirt-libs = %{version}-%{release}
|
Requires: libvirt-libs = %{version}-%{release}
|
||||||
Requires: python3-libvirt >= 3.7.0
|
Requires: python3-libvirt >= 3.7.0
|
||||||
|
Requires: python3-cryptography
|
||||||
|
Requires: python3-lxml
|
||||||
|
|
||||||
%description client-qemu
|
%description client-qemu
|
||||||
The additional client binaries are used to interact
|
The additional client binaries are used to interact
|
||||||
@ -926,15 +1009,16 @@ Requires: pkgconfig
|
|||||||
Include header files & development libraries for the libvirt C library.
|
Include header files & development libraries for the libvirt C library.
|
||||||
|
|
||||||
%if %{with_sanlock}
|
%if %{with_sanlock}
|
||||||
%package lock-sanlock
|
%package daemon-plugin-sanlock
|
||||||
Summary: Sanlock lock manager plugin for QEMU driver
|
Summary: Sanlock lock manager plugin for QEMU driver
|
||||||
Requires: sanlock >= 2.4
|
Requires: sanlock >= 2.4
|
||||||
#for virt-sanlock-cleanup require augeas
|
#for virt-sanlock-cleanup require augeas
|
||||||
Requires: augeas
|
Requires: augeas
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
|
||||||
Requires: libvirt-libs = %{version}-%{release}
|
Requires: libvirt-libs = %{version}-%{release}
|
||||||
|
Obsoletes: libvirt-lock-sanlock < 9.1.0
|
||||||
|
Provides: libvirt-lock-sanlock = %{version}-%{release}
|
||||||
|
|
||||||
%description lock-sanlock
|
%description daemon-plugin-sanlock
|
||||||
Includes the Sanlock lock manager plugin for the QEMU
|
Includes the Sanlock lock manager plugin for the QEMU
|
||||||
driver
|
driver
|
||||||
%endif
|
%endif
|
||||||
@ -1398,40 +1482,19 @@ fi \
|
|||||||
%define libvirt_daemon_systemd_preun_priv() %systemd_preun %1.service %1-admin.socket %1.socket
|
%define libvirt_daemon_systemd_preun_priv() %systemd_preun %1.service %1-admin.socket %1.socket
|
||||||
|
|
||||||
%pre daemon
|
%pre daemon
|
||||||
%libvirt_sysconfig_pre libvirtd virtproxyd virtlogd virtlockd libvirt-guests
|
%libvirt_sysconfig_pre libvirtd
|
||||||
# 'libvirt' group is just to allow password-less polkit access to
|
|
||||||
# libvirtd. The uid number is irrelevant, so we use dynamic allocation
|
|
||||||
# described at the above link.
|
|
||||||
getent group libvirt >/dev/null || groupadd -r libvirt
|
|
||||||
exit 0
|
|
||||||
|
|
||||||
%post daemon
|
%post daemon
|
||||||
%libvirt_daemon_systemd_post_priv virtlogd
|
%if ! %{with_modular_daemons}
|
||||||
%libvirt_daemon_systemd_post_priv virtlockd
|
|
||||||
%if %{with_modular_daemons}
|
|
||||||
%libvirt_daemon_systemd_post_inet virtproxyd
|
|
||||||
%else
|
|
||||||
%libvirt_daemon_systemd_post_inet libvirtd
|
%libvirt_daemon_systemd_post_inet libvirtd
|
||||||
%endif
|
%endif
|
||||||
%systemd_post libvirt-guests.service
|
|
||||||
%libvirt_daemon_schedule_restart libvirtd
|
%libvirt_daemon_schedule_restart libvirtd
|
||||||
|
|
||||||
%preun daemon
|
%preun daemon
|
||||||
%systemd_preun libvirt-guests.service
|
|
||||||
%libvirt_daemon_systemd_preun_inet libvirtd
|
%libvirt_daemon_systemd_preun_inet libvirtd
|
||||||
%libvirt_daemon_systemd_preun_inet virtproxyd
|
|
||||||
%libvirt_daemon_systemd_preun_priv virtlogd
|
|
||||||
%libvirt_daemon_systemd_preun_priv virtlockd
|
|
||||||
|
|
||||||
%postun daemon
|
|
||||||
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
|
||||||
if [ $1 -ge 1 ] ; then
|
|
||||||
/bin/systemctl reload-or-try-restart virtlockd.service virtlogd.service >/dev/null 2>&1 || :
|
|
||||||
fi
|
|
||||||
%systemd_postun libvirt-guests.service
|
|
||||||
|
|
||||||
%posttrans daemon
|
%posttrans daemon
|
||||||
%libvirt_sysconfig_posttrans libvirtd virtproxyd virtlogd virtlockd libvirt-guests
|
%libvirt_sysconfig_posttrans libvirtd
|
||||||
if test %libvirt_daemon_needs_restart libvirtd
|
if test %libvirt_daemon_needs_restart libvirtd
|
||||||
then
|
then
|
||||||
# See if user has previously modified their install to
|
# See if user has previously modified their install to
|
||||||
@ -1466,6 +1529,76 @@ then
|
|||||||
fi
|
fi
|
||||||
%libvirt_daemon_finish_restart libvirtd
|
%libvirt_daemon_finish_restart libvirtd
|
||||||
|
|
||||||
|
%pre daemon-common
|
||||||
|
%libvirt_sysconfig_pre libvirt-guests
|
||||||
|
# 'libvirt' group is just to allow password-less polkit access to libvirt
|
||||||
|
# daemons. The uid number is irrelevant, so we use dynamic allocation.
|
||||||
|
getent group libvirt >/dev/null || groupadd -r libvirt
|
||||||
|
exit 0
|
||||||
|
|
||||||
|
%post daemon-common
|
||||||
|
%systemd_post libvirt-guests.service
|
||||||
|
|
||||||
|
%preun daemon-common
|
||||||
|
%systemd_preun libvirt-guests.service
|
||||||
|
|
||||||
|
%postun daemon-common
|
||||||
|
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
||||||
|
%systemd_postun libvirt-guests.service
|
||||||
|
|
||||||
|
%posttrans daemon-common
|
||||||
|
%libvirt_sysconfig_posttrans libvirt-guests
|
||||||
|
|
||||||
|
%pre daemon-lock
|
||||||
|
%libvirt_sysconfig_pre virtlockd
|
||||||
|
|
||||||
|
%post daemon-lock
|
||||||
|
%libvirt_daemon_systemd_post_priv virtlockd
|
||||||
|
|
||||||
|
%preun daemon-lock
|
||||||
|
%libvirt_daemon_systemd_preun_priv virtlockd
|
||||||
|
|
||||||
|
%postun daemon-lock
|
||||||
|
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
||||||
|
if [ $1 -ge 1 ] ; then
|
||||||
|
/bin/systemctl reload-or-try-restart virtlockd.service >/dev/null 2>&1 || :
|
||||||
|
fi
|
||||||
|
|
||||||
|
%posttrans daemon-lock
|
||||||
|
%libvirt_sysconfig_posttrans virtlockd
|
||||||
|
|
||||||
|
%pre daemon-log
|
||||||
|
%libvirt_sysconfig_pre virtlogd
|
||||||
|
|
||||||
|
%post daemon-log
|
||||||
|
%libvirt_daemon_systemd_post_priv virtlogd
|
||||||
|
|
||||||
|
%preun daemon-log
|
||||||
|
%libvirt_daemon_systemd_preun_priv virtlogd
|
||||||
|
|
||||||
|
%postun daemon-log
|
||||||
|
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
||||||
|
if [ $1 -ge 1 ] ; then
|
||||||
|
/bin/systemctl reload-or-try-restart virtlogd.service >/dev/null 2>&1 || :
|
||||||
|
fi
|
||||||
|
|
||||||
|
%posttrans daemon-log
|
||||||
|
%libvirt_sysconfig_posttrans virtlogd
|
||||||
|
|
||||||
|
%pre daemon-proxy
|
||||||
|
%libvirt_sysconfig_pre virtproxyd
|
||||||
|
|
||||||
|
%post daemon-proxy
|
||||||
|
%if %{with_modular_daemons}
|
||||||
|
%libvirt_daemon_systemd_post_inet virtproxyd
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%preun daemon-proxy
|
||||||
|
%libvirt_daemon_systemd_preun_inet virtproxyd
|
||||||
|
|
||||||
|
%posttrans daemon-proxy
|
||||||
|
%libvirt_sysconfig_posttrans virtproxyd
|
||||||
|
|
||||||
%pre daemon-driver-network
|
%pre daemon-driver-network
|
||||||
%libvirt_sysconfig_pre virtnetworkd
|
%libvirt_sysconfig_pre virtnetworkd
|
||||||
|
|
||||||
@ -1737,27 +1870,18 @@ exit 0
|
|||||||
%{_unitdir}/libvirtd-admin.socket
|
%{_unitdir}/libvirtd-admin.socket
|
||||||
%{_unitdir}/libvirtd-tcp.socket
|
%{_unitdir}/libvirtd-tcp.socket
|
||||||
%{_unitdir}/libvirtd-tls.socket
|
%{_unitdir}/libvirtd-tls.socket
|
||||||
%{_unitdir}/virtproxyd.service
|
|
||||||
%{_unitdir}/virtproxyd.socket
|
|
||||||
%{_unitdir}/virtproxyd-ro.socket
|
|
||||||
%{_unitdir}/virtproxyd-admin.socket
|
|
||||||
%{_unitdir}/virtproxyd-tcp.socket
|
|
||||||
%{_unitdir}/virtproxyd-tls.socket
|
|
||||||
%{_unitdir}/virt-guest-shutdown.target
|
|
||||||
%{_unitdir}/virtlogd.service
|
|
||||||
%{_unitdir}/virtlogd.socket
|
|
||||||
%{_unitdir}/virtlogd-admin.socket
|
|
||||||
%{_unitdir}/virtlockd.service
|
|
||||||
%{_unitdir}/virtlockd.socket
|
|
||||||
%{_unitdir}/virtlockd-admin.socket
|
|
||||||
%{_unitdir}/libvirt-guests.service
|
|
||||||
%config(noreplace) %{_sysconfdir}/libvirt/libvirtd.conf
|
%config(noreplace) %{_sysconfdir}/libvirt/libvirtd.conf
|
||||||
%config(noreplace) %{_sysconfdir}/libvirt/virtproxyd.conf
|
|
||||||
%config(noreplace) %{_sysconfdir}/libvirt/virtlogd.conf
|
|
||||||
%config(noreplace) %{_sysconfdir}/libvirt/virtlockd.conf
|
|
||||||
%config(noreplace) %{_sysconfdir}/sasl2/libvirt.conf
|
|
||||||
%config(noreplace) %{_prefix}/lib/sysctl.d/60-libvirtd.conf
|
%config(noreplace) %{_prefix}/lib/sysctl.d/60-libvirtd.conf
|
||||||
%config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd
|
%config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd
|
||||||
|
%{_datadir}/augeas/lenses/libvirtd.aug
|
||||||
|
%{_datadir}/augeas/lenses/tests/test_libvirtd.aug
|
||||||
|
%attr(0755, root, root) %{_sbindir}/libvirtd
|
||||||
|
%{_mandir}/man8/libvirtd.8*
|
||||||
|
|
||||||
|
%files daemon-common
|
||||||
|
%{_unitdir}/virt-guest-shutdown.target
|
||||||
|
%{_unitdir}/libvirt-guests.service
|
||||||
|
%config(noreplace) %{_sysconfdir}/sasl2/libvirt.conf
|
||||||
%dir %{_datadir}/libvirt/
|
%dir %{_datadir}/libvirt/
|
||||||
%ghost %dir %{_rundir}/libvirt/
|
%ghost %dir %{_rundir}/libvirt/
|
||||||
%ghost %dir %{_rundir}/libvirt/common/
|
%ghost %dir %{_rundir}/libvirt/common/
|
||||||
@ -1768,45 +1892,64 @@ exit 0
|
|||||||
%dir %attr(0711, root, root) %{_localstatedir}/cache/libvirt/
|
%dir %attr(0711, root, root) %{_localstatedir}/cache/libvirt/
|
||||||
%dir %attr(0755, root, root) %{_libdir}/libvirt/
|
%dir %attr(0755, root, root) %{_libdir}/libvirt/
|
||||||
%dir %attr(0755, root, root) %{_libdir}/libvirt/connection-driver/
|
%dir %attr(0755, root, root) %{_libdir}/libvirt/connection-driver/
|
||||||
%dir %attr(0755, root, root) %{_libdir}/libvirt/lock-driver/
|
|
||||||
%dir %attr(0755, root, root) %{_libdir}/libvirt/storage-backend/
|
%dir %attr(0755, root, root) %{_libdir}/libvirt/storage-backend/
|
||||||
%dir %attr(0755, root, root) %{_libdir}/libvirt/storage-file/
|
%dir %attr(0755, root, root) %{_libdir}/libvirt/storage-file/
|
||||||
%attr(0755, root, root) %{_libdir}/libvirt/lock-driver/lockd.so
|
|
||||||
%{_datadir}/augeas/lenses/libvirtd.aug
|
|
||||||
%{_datadir}/augeas/lenses/tests/test_libvirtd.aug
|
|
||||||
%{_datadir}/augeas/lenses/virtlogd.aug
|
|
||||||
%{_datadir}/augeas/lenses/tests/test_virtlogd.aug
|
|
||||||
%{_datadir}/augeas/lenses/virtlockd.aug
|
|
||||||
%{_datadir}/augeas/lenses/tests/test_virtlockd.aug
|
|
||||||
%{_datadir}/augeas/lenses/virtproxyd.aug
|
|
||||||
%{_datadir}/augeas/lenses/tests/test_virtproxyd.aug
|
|
||||||
%{_datadir}/augeas/lenses/libvirt_lockd.aug
|
|
||||||
%if %{with_qemu}
|
|
||||||
%{_datadir}/augeas/lenses/tests/test_libvirt_lockd.aug
|
|
||||||
%endif
|
|
||||||
%{_datadir}/polkit-1/actions/org.libvirt.unix.policy
|
%{_datadir}/polkit-1/actions/org.libvirt.unix.policy
|
||||||
%{_datadir}/polkit-1/actions/org.libvirt.api.policy
|
%{_datadir}/polkit-1/actions/org.libvirt.api.policy
|
||||||
%{_datadir}/polkit-1/rules.d/50-libvirt.rules
|
%{_datadir}/polkit-1/rules.d/50-libvirt.rules
|
||||||
%dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/
|
%dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/
|
||||||
%attr(0755, root, root) %{_libexecdir}/libvirt_iohelper
|
%attr(0755, root, root) %{_libexecdir}/libvirt_iohelper
|
||||||
%attr(0755, root, root) %{_bindir}/virt-ssh-helper
|
%attr(0755, root, root) %{_bindir}/virt-ssh-helper
|
||||||
%attr(0755, root, root) %{_sbindir}/libvirtd
|
|
||||||
%attr(0755, root, root) %{_sbindir}/virtproxyd
|
|
||||||
%attr(0755, root, root) %{_sbindir}/virtlogd
|
|
||||||
%attr(0755, root, root) %{_sbindir}/virtlockd
|
|
||||||
%attr(0755, root, root) %{_libexecdir}/libvirt-guests.sh
|
%attr(0755, root, root) %{_libexecdir}/libvirt-guests.sh
|
||||||
%{_mandir}/man1/virt-admin.1*
|
%{_mandir}/man1/virt-admin.1*
|
||||||
%{_mandir}/man1/virt-host-validate.1*
|
%{_mandir}/man1/virt-host-validate.1*
|
||||||
%{_mandir}/man8/virt-ssh-helper.8*
|
%{_mandir}/man8/virt-ssh-helper.8*
|
||||||
%{_mandir}/man8/libvirt-guests.8*
|
%{_mandir}/man8/libvirt-guests.8*
|
||||||
%{_mandir}/man8/libvirtd.8*
|
|
||||||
%{_mandir}/man8/virtlogd.8*
|
|
||||||
%{_mandir}/man8/virtlockd.8*
|
|
||||||
%{_mandir}/man8/virtproxyd.8*
|
|
||||||
%{_bindir}/virt-host-validate
|
%{_bindir}/virt-host-validate
|
||||||
%{_bindir}/virt-admin
|
%{_bindir}/virt-admin
|
||||||
%{_datadir}/bash-completion/completions/virt-admin
|
%{_datadir}/bash-completion/completions/virt-admin
|
||||||
|
|
||||||
|
%files daemon-lock
|
||||||
|
%{_unitdir}/virtlockd.service
|
||||||
|
%{_unitdir}/virtlockd.socket
|
||||||
|
%{_unitdir}/virtlockd-admin.socket
|
||||||
|
%config(noreplace) %{_sysconfdir}/libvirt/virtlockd.conf
|
||||||
|
%{_datadir}/augeas/lenses/virtlockd.aug
|
||||||
|
%{_datadir}/augeas/lenses/tests/test_virtlockd.aug
|
||||||
|
%{_datadir}/augeas/lenses/libvirt_lockd.aug
|
||||||
|
%if %{with_qemu}
|
||||||
|
%{_datadir}/augeas/lenses/tests/test_libvirt_lockd.aug
|
||||||
|
%endif
|
||||||
|
%attr(0755, root, root) %{_sbindir}/virtlockd
|
||||||
|
%{_mandir}/man8/virtlockd.8*
|
||||||
|
|
||||||
|
%files daemon-plugin-lockd
|
||||||
|
%dir %attr(0755, root, root) %{_libdir}/libvirt/lock-driver/
|
||||||
|
%attr(0755, root, root) %{_libdir}/libvirt/lock-driver/lockd.so
|
||||||
|
|
||||||
|
%files daemon-log
|
||||||
|
%{_unitdir}/virtlogd.service
|
||||||
|
%{_unitdir}/virtlogd.socket
|
||||||
|
%{_unitdir}/virtlogd-admin.socket
|
||||||
|
%config(noreplace) %{_sysconfdir}/libvirt/virtlogd.conf
|
||||||
|
%{_datadir}/augeas/lenses/virtlogd.aug
|
||||||
|
%{_datadir}/augeas/lenses/tests/test_virtlogd.aug
|
||||||
|
%attr(0755, root, root) %{_sbindir}/virtlogd
|
||||||
|
%{_mandir}/man8/virtlogd.8*
|
||||||
|
|
||||||
|
%files daemon-proxy
|
||||||
|
%{_unitdir}/virtproxyd.service
|
||||||
|
%{_unitdir}/virtproxyd.socket
|
||||||
|
%{_unitdir}/virtproxyd-ro.socket
|
||||||
|
%{_unitdir}/virtproxyd-admin.socket
|
||||||
|
%{_unitdir}/virtproxyd-tcp.socket
|
||||||
|
%{_unitdir}/virtproxyd-tls.socket
|
||||||
|
%config(noreplace) %{_sysconfdir}/libvirt/virtproxyd.conf
|
||||||
|
%{_datadir}/augeas/lenses/virtproxyd.aug
|
||||||
|
%{_datadir}/augeas/lenses/tests/test_virtproxyd.aug
|
||||||
|
%attr(0755, root, root) %{_sbindir}/virtproxyd
|
||||||
|
%{_mandir}/man8/virtproxyd.8*
|
||||||
|
|
||||||
%files daemon-config-network
|
%files daemon-config-network
|
||||||
%dir %{_datadir}/libvirt/networks/
|
%dir %{_datadir}/libvirt/networks/
|
||||||
%{_datadir}/libvirt/networks/default.xml
|
%{_datadir}/libvirt/networks/default.xml
|
||||||
@ -2085,13 +2228,14 @@ exit 0
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with_sanlock}
|
%if %{with_sanlock}
|
||||||
%files lock-sanlock
|
%files daemon-plugin-sanlock
|
||||||
%if %{with_qemu}
|
%if %{with_qemu}
|
||||||
%config(noreplace) %{_sysconfdir}/libvirt/qemu-sanlock.conf
|
%config(noreplace) %{_sysconfdir}/libvirt/qemu-sanlock.conf
|
||||||
%endif
|
%endif
|
||||||
%if %{with_libxl}
|
%if %{with_libxl}
|
||||||
%config(noreplace) %{_sysconfdir}/libvirt/libxl-sanlock.conf
|
%config(noreplace) %{_sysconfdir}/libvirt/libxl-sanlock.conf
|
||||||
%endif
|
%endif
|
||||||
|
%dir %attr(0755, root, root) %{_libdir}/libvirt/lock-driver/
|
||||||
%attr(0755, root, root) %{_libdir}/libvirt/lock-driver/sanlock.so
|
%attr(0755, root, root) %{_libdir}/libvirt/lock-driver/sanlock.so
|
||||||
%{_datadir}/augeas/lenses/libvirt_sanlock.aug
|
%{_datadir}/augeas/lenses/libvirt_sanlock.aug
|
||||||
%{_datadir}/augeas/lenses/tests/test_libvirt_sanlock.aug
|
%{_datadir}/augeas/lenses/tests/test_libvirt_sanlock.aug
|
||||||
@ -2310,6 +2454,9 @@ exit 0
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 01 2023 Cole Robinson <crobinso@redhat.com> - 9.1.0-1
|
||||||
|
- Update to version 9.1.0
|
||||||
|
|
||||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.0-2
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.0-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (libvirt-9.0.0.tar.xz) = 135f690f9fe722161c22579166f10a54d52941a371439165fd0e3d391ca7835049a3bcbff33fc81c50153046230db8a5a318d707383bad3141d489d2faa09ecb
|
SHA512 (libvirt-9.1.0.tar.xz) = f4c11ef4e5d29ffde9b91aed1f4fa466f827471d8cbdf6208b54e58b9f1f5cd8dd4fe8ca128aeea1d984f42f47b1ed7d99bbf2a5bb7264ab3943641310f36cd6
|
||||||
|
Loading…
Reference in New Issue
Block a user