|
|
|
@@ -3,15 +3,15 @@
|
|
|
|
|
# This spec file assumes you are building on a Fedora or RHEL version
|
|
|
|
|
# that's still supported by the vendor. It may work on other distros
|
|
|
|
|
# or versions, but no effort will be made to ensure that going forward.
|
|
|
|
|
%define min_rhel 8
|
|
|
|
|
%define min_fedora 37
|
|
|
|
|
%define min_rhel 9
|
|
|
|
|
%define min_fedora 41
|
|
|
|
|
|
|
|
|
|
%define arches_qemu_kvm %{ix86} x86_64 %{power64} %{arm} aarch64 s390x riscv64
|
|
|
|
|
%define arches_qemu_kvm %{ix86} x86_64 %{power64} aarch64 s390x riscv64
|
|
|
|
|
%if 0%{?rhel}
|
|
|
|
|
%if 0%{?rhel} > 8
|
|
|
|
|
%define arches_qemu_kvm x86_64 aarch64 s390x
|
|
|
|
|
%if 0%{?rhel} >= 10
|
|
|
|
|
%define arches_qemu_kvm x86_64 aarch64 s390x riscv64
|
|
|
|
|
%else
|
|
|
|
|
%define arches_qemu_kvm x86_64 %{power64} aarch64 s390x
|
|
|
|
|
%define arches_qemu_kvm x86_64 aarch64 s390x
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
@@ -32,18 +32,34 @@
|
|
|
|
|
%define arches_ch x86_64 aarch64
|
|
|
|
|
|
|
|
|
|
# The hypervisor drivers that run in libvirtd
|
|
|
|
|
%define with_qemu 0%{!?_without_qemu:1}
|
|
|
|
|
%define with_lxc 0%{!?_without_lxc:1}
|
|
|
|
|
%define with_libxl 0%{!?_without_libxl:1}
|
|
|
|
|
%define with_vbox 0%{!?_without_vbox:1}
|
|
|
|
|
%define with_ch 0%{!?_without_ch:1}
|
|
|
|
|
|
|
|
|
|
%ifarch %{arches_64bit}
|
|
|
|
|
%define with_qemu 0%{!?_without_qemu:1}
|
|
|
|
|
%else
|
|
|
|
|
# QEMU drops 32-bit in Fedora 44
|
|
|
|
|
%if 0%{?fedora} > 43
|
|
|
|
|
%define with_qemu 0
|
|
|
|
|
%else
|
|
|
|
|
%define with_qemu 0%{!?_without_qemu:1}
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%ifarch %{arches_qemu_kvm}
|
|
|
|
|
%define with_qemu_kvm %{with_qemu}
|
|
|
|
|
%else
|
|
|
|
|
%define with_qemu_kvm 0
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} >= 42
|
|
|
|
|
%define with_account_add 0
|
|
|
|
|
%else
|
|
|
|
|
%define with_account_add 1
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%define with_qemu_tcg %{with_qemu}
|
|
|
|
|
|
|
|
|
|
# RHEL disables TCG on all architectures
|
|
|
|
@@ -66,18 +82,13 @@
|
|
|
|
|
|
|
|
|
|
%define with_storage_gluster 0%{!?_without_storage_gluster:1}
|
|
|
|
|
%if 0%{?rhel}
|
|
|
|
|
# Glusterfs has been dropped in RHEL-9, and before that
|
|
|
|
|
# was only enabled on arches where KVM exists
|
|
|
|
|
%if 0%{?rhel} > 8
|
|
|
|
|
%define with_storage_gluster 0
|
|
|
|
|
%else
|
|
|
|
|
%ifnarch %{arches_qemu_kvm}
|
|
|
|
|
%define with_storage_gluster 0
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
# Glusterfs has been dropped in RHEL-9.
|
|
|
|
|
%define with_storage_gluster 0
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# Fedora has zfs-fuse
|
|
|
|
|
# On Fedora 43, the 'zfs-fuse' package was removed, but is obtainable via
|
|
|
|
|
# other means. Build the backend, but it's no longer considered to be part
|
|
|
|
|
# of 'daemon-driver-storage'.
|
|
|
|
|
%if 0%{?fedora}
|
|
|
|
|
%define with_storage_zfs 0%{!?_without_storage_zfs:1}
|
|
|
|
|
%else
|
|
|
|
@@ -86,13 +97,12 @@
|
|
|
|
|
|
|
|
|
|
%define with_storage_iscsi_direct 0%{!?_without_storage_iscsi_direct:1}
|
|
|
|
|
# libiscsi has been dropped in RHEL-9
|
|
|
|
|
%if 0%{?rhel} > 8
|
|
|
|
|
%if 0%{?rhel}
|
|
|
|
|
%define with_storage_iscsi_direct 0
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# Other optional features
|
|
|
|
|
%define with_numactl 0%{!?_without_numactl:1}
|
|
|
|
|
%define with_userfaultfd_sysctl 0%{!?_without_userfaultfd_sysctl:1}
|
|
|
|
|
|
|
|
|
|
# A few optional bits off by default, we enable later
|
|
|
|
|
%define with_fuse 0
|
|
|
|
@@ -142,10 +152,6 @@
|
|
|
|
|
|
|
|
|
|
%define with_firewalld_zone 0%{!?_without_firewalld_zone:1}
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel} && 0%{?rhel} < 9
|
|
|
|
|
%define with_netcf 0%{!?_without_netcf:1}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# fuse is used to provide virtualized /proc for LXC
|
|
|
|
|
%if %{with_lxc}
|
|
|
|
|
%define with_fuse 0%{!?_without_fuse:1}
|
|
|
|
@@ -187,8 +193,7 @@
|
|
|
|
|
# Right now that's not the case anywhere, but things should be fine by the time
|
|
|
|
|
# Fedora 40 is released.
|
|
|
|
|
%if %{with_qemu}
|
|
|
|
|
# rhel-8 lacks pidfd_open
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} >= 9
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel}
|
|
|
|
|
%define with_nbdkit 0%{!?_without_nbdkit:1}
|
|
|
|
|
|
|
|
|
|
# setting 'with_nbdkit_config_default' must be done only when compiling
|
|
|
|
@@ -196,7 +201,7 @@
|
|
|
|
|
#
|
|
|
|
|
# TODO: add RHEL 9 once a minor release that contains the necessary SELinux
|
|
|
|
|
# bits exists (we only support the most recent minor release)
|
|
|
|
|
%if 0%{?fedora} >= 40
|
|
|
|
|
%if 0%{?fedora}
|
|
|
|
|
%define with_nbdkit_config_default 0%{!?_without_nbdkit_config_default:1}
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
@@ -207,13 +212,13 @@
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%define with_modular_daemons 0
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} >= 9
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel}
|
|
|
|
|
%define with_modular_daemons 1
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# Prefer nftables for future OS releases but keep using iptables
|
|
|
|
|
# for existing ones
|
|
|
|
|
%if 0%{?rhel} >= 10 || 0%{?fedora} >= 41
|
|
|
|
|
%if 0%{?rhel} >= 10 || 0%{?fedora}
|
|
|
|
|
%define prefer_nftables 1
|
|
|
|
|
%define firewall_backend_priority nftables,iptables
|
|
|
|
|
%else
|
|
|
|
@@ -258,19 +263,14 @@
|
|
|
|
|
|
|
|
|
|
# RHEL releases provide stable tool chains and so it is safe to turn
|
|
|
|
|
# compiler warning into errors without being worried about frequent
|
|
|
|
|
# changes in reported warnings
|
|
|
|
|
%if 0%{?rhel}
|
|
|
|
|
# changes in reported warnings. ELN is a rebuild of Rawhide so should
|
|
|
|
|
# be treated as unstable for this flag
|
|
|
|
|
%if 0%{?rhel} && !0%{?eln}
|
|
|
|
|
%define enable_werror -Dwerror=true
|
|
|
|
|
%else
|
|
|
|
|
%define enable_werror -Dwerror=false -Dgit_werror=disabled
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# Fedora and RHEL-9 are new enough to support /dev/userfaultfd, which
|
|
|
|
|
# does not require enabling vm.unprivileged_userfaultfd sysctl.
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} >= 9
|
|
|
|
|
%define with_userfaultfd_sysctl 0
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%define tls_priority "@LIBVIRT,SYSTEM"
|
|
|
|
|
|
|
|
|
|
# libvirt 8.1.0 stops distributing any sysconfig files.
|
|
|
|
@@ -294,8 +294,8 @@
|
|
|
|
|
|
|
|
|
|
Summary: Library providing a simple virtualization API
|
|
|
|
|
Name: libvirt
|
|
|
|
|
Version: 11.0.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Version: 12.0.0
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
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/
|
|
|
|
|
|
|
|
|
@@ -304,8 +304,9 @@ URL: https://libvirt.org/
|
|
|
|
|
%endif
|
|
|
|
|
Source: https://download.libvirt.org/%{?mainturl}libvirt-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
# fix build with GCC 15
|
|
|
|
|
Patch: 0001-util-avoid-overflow-in-hextable-buffer.patch
|
|
|
|
|
# Fix IPv6 connections to ESXi
|
|
|
|
|
# Upstream in > 12.0.0
|
|
|
|
|
Patch: 0001-esx-Allow-connecting-to-IPv6-server.patch
|
|
|
|
|
|
|
|
|
|
Requires: libvirt-daemon = %{version}-%{release}
|
|
|
|
|
Requires: libvirt-daemon-config-network = %{version}-%{release}
|
|
|
|
@@ -360,7 +361,7 @@ BuildRequires: gcc
|
|
|
|
|
%if %{with_libxl}
|
|
|
|
|
BuildRequires: xen-devel
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: glib2-devel >= 2.58
|
|
|
|
|
BuildRequires: glib2-devel >= 2.66
|
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
|
BuildRequires: readline-devel
|
|
|
|
|
BuildRequires: pkgconfig(bash-completion) >= 2.0
|
|
|
|
@@ -380,12 +381,7 @@ BuildRequires: sanlock-devel >= 2.4
|
|
|
|
|
BuildRequires: libpcap-devel >= 1.5.0
|
|
|
|
|
BuildRequires: libnl3-devel
|
|
|
|
|
BuildRequires: libselinux-devel
|
|
|
|
|
# For modprobe
|
|
|
|
|
BuildRequires: kmod
|
|
|
|
|
BuildRequires: cyrus-sasl-devel
|
|
|
|
|
BuildRequires: polkit >= 0.112
|
|
|
|
|
# For mount/umount in FS driver
|
|
|
|
|
BuildRequires: util-linux
|
|
|
|
|
%if %{with_qemu}
|
|
|
|
|
# For managing ACLs
|
|
|
|
|
BuildRequires: libacl-devel
|
|
|
|
@@ -396,10 +392,6 @@ BuildRequires: /usr/bin/qemu-img
|
|
|
|
|
%if %{with_nbdkit}
|
|
|
|
|
BuildRequires: libnbd-devel
|
|
|
|
|
%endif
|
|
|
|
|
# For LVM drivers
|
|
|
|
|
BuildRequires: lvm2
|
|
|
|
|
# For pool type=iscsi
|
|
|
|
|
BuildRequires: iscsi-initiator-utils
|
|
|
|
|
%if %{with_storage_iscsi_direct}
|
|
|
|
|
# For pool type=iscsi-direct
|
|
|
|
|
BuildRequires: libiscsi-devel
|
|
|
|
@@ -422,7 +414,7 @@ BuildRequires: numactl-devel
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: libcap-ng-devel >= 0.5.0
|
|
|
|
|
%if %{with_fuse}
|
|
|
|
|
BuildRequires: fuse-devel >= 2.8.6
|
|
|
|
|
BuildRequires: fuse3-devel
|
|
|
|
|
%endif
|
|
|
|
|
%if %{with_libssh2}
|
|
|
|
|
BuildRequires: libssh2-devel >= 1.3.0
|
|
|
|
@@ -439,11 +431,6 @@ BuildRequires: libwsman-devel >= 2.6.3
|
|
|
|
|
BuildRequires: audit-libs-devel
|
|
|
|
|
BuildRequires: systemtap-sdt-devel
|
|
|
|
|
BuildRequires: /usr/bin/dtrace
|
|
|
|
|
# For mount/umount in FS driver
|
|
|
|
|
BuildRequires: util-linux
|
|
|
|
|
%if %{with_numad}
|
|
|
|
|
BuildRequires: numad
|
|
|
|
|
%endif
|
|
|
|
|
%if %{with_wireshark}
|
|
|
|
|
BuildRequires: wireshark-devel
|
|
|
|
|
%endif
|
|
|
|
@@ -524,6 +511,8 @@ Requires: libvirt-libs = %{version}-%{release}
|
|
|
|
|
# Recommends here will install libvirt-client by default (if available), but
|
|
|
|
|
# RPM won't complain if the package is unavailable, masked, or removed later.
|
|
|
|
|
Recommends: libvirt-client = %{version}-%{release}
|
|
|
|
|
# For modprobe and rmmod
|
|
|
|
|
Requires: kmod
|
|
|
|
|
# for /sbin/ip
|
|
|
|
|
Requires: iproute
|
|
|
|
|
# for /sbin/tc
|
|
|
|
@@ -538,8 +527,10 @@ Requires(posttrans): /usr/bin/systemctl
|
|
|
|
|
Requires(preun): /usr/bin/systemctl
|
|
|
|
|
# libvirtd depends on 'messagebus' service
|
|
|
|
|
Requires: dbus
|
|
|
|
|
%if %{with_account_add}
|
|
|
|
|
# For uid creation during pre
|
|
|
|
|
Requires(pre): shadow-utils
|
|
|
|
|
%endif
|
|
|
|
|
# Needed by /usr/libexec/libvirt-guests.sh script.
|
|
|
|
|
%if 0%{?fedora}
|
|
|
|
|
Requires: gettext-runtime
|
|
|
|
@@ -566,6 +557,7 @@ resources
|
|
|
|
|
%package daemon-plugin-lockd
|
|
|
|
|
Summary: lockd client plugin for virtlockd
|
|
|
|
|
Requires: libvirt-libs = %{version}-%{release}
|
|
|
|
|
Requires: libvirt-daemon-common = %{version}-%{release}
|
|
|
|
|
Requires: libvirt-daemon-lock = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description daemon-plugin-lockd
|
|
|
|
@@ -680,7 +672,7 @@ Summary: Storage driver plugin including base backends for the libvirtd daemon
|
|
|
|
|
Requires: libvirt-daemon-common = %{version}-%{release}
|
|
|
|
|
Requires: libvirt-libs = %{version}-%{release}
|
|
|
|
|
Recommends: nfs-utils
|
|
|
|
|
# For mkfs
|
|
|
|
|
# For mkfs and mount/umount
|
|
|
|
|
Requires: util-linux
|
|
|
|
|
# For storage wiping with different algorithms
|
|
|
|
|
Requires: scrub
|
|
|
|
@@ -792,9 +784,13 @@ volumes using the ceph protocol.
|
|
|
|
|
Summary: Storage driver plugin for ZFS
|
|
|
|
|
Requires: libvirt-daemon-driver-storage-core = %{version}-%{release}
|
|
|
|
|
Requires: libvirt-libs = %{version}-%{release}
|
|
|
|
|
# Support any conforming implementation of zfs
|
|
|
|
|
# Starting with Fedora 43 the 'zfs-fuse' is no longer shipped but obtainable
|
|
|
|
|
# externally. The package builds fine without these. Users will have to provide
|
|
|
|
|
# their own implementation.
|
|
|
|
|
%if 0%{?fedora} && 0%{?fedora} < 43
|
|
|
|
|
Requires: /sbin/zfs
|
|
|
|
|
Requires: /sbin/zpool
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%description daemon-driver-storage-zfs
|
|
|
|
|
The storage driver backend adding implementation of the storage APIs for
|
|
|
|
@@ -818,7 +814,10 @@ Requires: libvirt-daemon-driver-storage-gluster = %{version}-%{release}
|
|
|
|
|
%if %{with_storage_rbd}
|
|
|
|
|
Requires: libvirt-daemon-driver-storage-rbd = %{version}-%{release}
|
|
|
|
|
%endif
|
|
|
|
|
%if %{with_storage_zfs}
|
|
|
|
|
# Starting with Fedora 43 the 'zfs-fuse' is no longer shipped but obtainable
|
|
|
|
|
# externally. We do not want to install this as part of 'daemon-driver-storage'
|
|
|
|
|
# any more.
|
|
|
|
|
%if %{with_storage_zfs} && 0%{?fedora} && 0%{?fedora} < 43
|
|
|
|
|
Requires: libvirt-daemon-driver-storage-zfs = %{version}-%{release}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
@@ -845,7 +844,7 @@ Requires: swtpm-tools
|
|
|
|
|
%if %{with_numad}
|
|
|
|
|
Requires: numad
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} >= 9
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel}
|
|
|
|
|
Recommends: passt
|
|
|
|
|
Recommends: passt-selinux
|
|
|
|
|
%endif
|
|
|
|
@@ -1097,6 +1096,10 @@ Wireshark dissector plugin for better analysis of libvirt RPC traffic.
|
|
|
|
|
%package login-shell
|
|
|
|
|
Summary: Login shell for connecting users to an LXC container
|
|
|
|
|
Requires: libvirt-libs = %{version}-%{release}
|
|
|
|
|
%if %{with_account_add}
|
|
|
|
|
# For uid creation during pre
|
|
|
|
|
Requires(pre): shadow-utils
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%description login-shell
|
|
|
|
|
Provides the set-uid virt-login-shell binary that is used to
|
|
|
|
@@ -1119,6 +1122,7 @@ Requires: sanlock >= 2.4
|
|
|
|
|
#for virt-sanlock-cleanup require augeas
|
|
|
|
|
Requires: augeas
|
|
|
|
|
Requires: libvirt-libs = %{version}-%{release}
|
|
|
|
|
Requires: libvirt-daemon-common = %{version}-%{release}
|
|
|
|
|
Obsoletes: libvirt-lock-sanlock < 9.1.0
|
|
|
|
|
Provides: libvirt-lock-sanlock = %{version}-%{release}
|
|
|
|
|
|
|
|
|
@@ -1339,12 +1343,6 @@ exit 1
|
|
|
|
|
%define arg_remote_mode -Dremote_default_mode=legacy
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if %{with_userfaultfd_sysctl}
|
|
|
|
|
%define arg_userfaultfd_sysctl -Duserfaultfd_sysctl=enabled
|
|
|
|
|
%else
|
|
|
|
|
%define arg_userfaultfd_sysctl -Duserfaultfd_sysctl=disabled
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%define when %(date +"%%F-%%T")
|
|
|
|
|
%define where %(hostname)
|
|
|
|
|
%define who %{?packager}%{!?packager:Unknown}
|
|
|
|
@@ -1428,7 +1426,6 @@ export SOURCE_DATE_EPOCH=$(stat --printf='%Y' %{_specdir}/libvirt.spec)
|
|
|
|
|
-Dqemu_datadir=%{qemu_datadir} \
|
|
|
|
|
-Dtls_priority=%{tls_priority} \
|
|
|
|
|
-Dsysctl_config=enabled \
|
|
|
|
|
%{?arg_userfaultfd_sysctl} \
|
|
|
|
|
-Dssh_proxy=enabled \
|
|
|
|
|
%{?enable_werror} \
|
|
|
|
|
-Dexpensive_tests=enabled \
|
|
|
|
@@ -1458,6 +1455,7 @@ export SOURCE_DATE_EPOCH=$(stat --printf='%Y' %{_specdir}/libvirt.spec)
|
|
|
|
|
-Dblkid=disabled \
|
|
|
|
|
-Dcapng=disabled \
|
|
|
|
|
-Ddriver_bhyve=disabled \
|
|
|
|
|
-Ddriver_ch=disabled \
|
|
|
|
|
-Ddriver_hyperv=disabled \
|
|
|
|
|
-Ddriver_interface=disabled \
|
|
|
|
|
-Ddriver_libvirtd=disabled \
|
|
|
|
@@ -1515,7 +1513,6 @@ export SOURCE_DATE_EPOCH=$(stat --printf='%Y' %{_specdir}/libvirt.spec)
|
|
|
|
|
-Dstorage_vstorage=disabled \
|
|
|
|
|
-Dstorage_zfs=disabled \
|
|
|
|
|
-Dsysctl_config=disabled \
|
|
|
|
|
-Duserfaultfd_sysctl=disabled \
|
|
|
|
|
-Dssh_proxy=disabled \
|
|
|
|
|
-Dtests=disabled \
|
|
|
|
|
-Dudev=disabled \
|
|
|
|
@@ -1794,10 +1791,12 @@ export VIR_TEST_DEBUG=1
|
|
|
|
|
%pre daemon-common
|
|
|
|
|
%libvirt_sysconfig_pre libvirt-guests
|
|
|
|
|
%libvirt_systemd_oneshot_pre libvirt-guests
|
|
|
|
|
%if %{with_account_add}
|
|
|
|
|
# '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
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%posttrans daemon-common
|
|
|
|
|
%libvirt_sysconfig_posttrans libvirt-guests
|
|
|
|
@@ -1920,6 +1919,7 @@ exit 0
|
|
|
|
|
%libvirt_sysconfig_pre virtqemud
|
|
|
|
|
%libvirt_systemd_unix_pre virtqemud
|
|
|
|
|
|
|
|
|
|
%if %{with_account_add}
|
|
|
|
|
# We want soft static allocation of well-known ids, as disk images
|
|
|
|
|
# are commonly shared across NFS mounts by id rather than name.
|
|
|
|
|
# See https://docs.fedoraproject.org/en-US/packaging-guidelines/UsersAndGroups/
|
|
|
|
@@ -1935,6 +1935,7 @@ if ! getent passwd 'qemu' >/dev/null; then
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
exit 0
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%posttrans daemon-driver-qemu
|
|
|
|
|
%libvirt_sysconfig_posttrans virtqemud
|
|
|
|
@@ -2061,8 +2062,10 @@ done
|
|
|
|
|
|
|
|
|
|
%if %{with_lxc}
|
|
|
|
|
%pre login-shell
|
|
|
|
|
%if %{with_account_add}
|
|
|
|
|
getent group virtlogin >/dev/null || groupadd -r virtlogin
|
|
|
|
|
exit 0
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
@@ -2106,9 +2109,11 @@ exit 0
|
|
|
|
|
%dir %attr(0755, root, root) %{_libdir}/libvirt/connection-driver/
|
|
|
|
|
%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/lock-driver/
|
|
|
|
|
%{_datadir}/polkit-1/actions/org.libvirt.unix.policy
|
|
|
|
|
%{_datadir}/polkit-1/actions/org.libvirt.api.policy
|
|
|
|
|
%{_datadir}/polkit-1/rules.d/50-libvirt.rules
|
|
|
|
|
%{_sysusersdir}/libvirt.conf
|
|
|
|
|
%dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/
|
|
|
|
|
%attr(0755, root, root) %{_libexecdir}/libvirt_iohelper
|
|
|
|
|
%attr(0755, root, root) %{_bindir}/virt-ssh-helper
|
|
|
|
@@ -2136,7 +2141,6 @@ exit 0
|
|
|
|
|
%{_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
|
|
|
|
@@ -2275,7 +2279,6 @@ exit 0
|
|
|
|
|
%ghost %dir %{_rundir}/libvirt/storage/
|
|
|
|
|
%{_libdir}/libvirt/connection-driver/libvirt_driver_storage.so
|
|
|
|
|
%{_libdir}/libvirt/storage-backend/libvirt_storage_backend_fs.so
|
|
|
|
|
%{_libdir}/libvirt/storage-file/libvirt_storage_file_fs.so
|
|
|
|
|
%{_mandir}/man8/virtstoraged.8*
|
|
|
|
|
|
|
|
|
|
%files daemon-driver-storage-disk
|
|
|
|
@@ -2317,9 +2320,6 @@ exit 0
|
|
|
|
|
%if %{with_qemu}
|
|
|
|
|
%files daemon-driver-qemu
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/libvirt/virtqemud.conf
|
|
|
|
|
%if %{with_userfaultfd_sysctl}
|
|
|
|
|
%config(noreplace) %{_prefix}/lib/sysctl.d/60-qemu-postcopy-migration.conf
|
|
|
|
|
%endif
|
|
|
|
|
%{_datadir}/augeas/lenses/virtqemud.aug
|
|
|
|
|
%{_datadir}/augeas/lenses/tests/test_virtqemud.aug
|
|
|
|
|
%{_unitdir}/virtqemud.service
|
|
|
|
@@ -2451,7 +2451,6 @@ exit 0
|
|
|
|
|
%if %{with_libxl}
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/libvirt/libxl-sanlock.conf
|
|
|
|
|
%endif
|
|
|
|
|
%dir %attr(0755, root, root) %{_libdir}/libvirt/lock-driver/
|
|
|
|
|
%attr(0755, root, root) %{_libdir}/libvirt/lock-driver/sanlock.so
|
|
|
|
|
%{_datadir}/augeas/lenses/libvirt_sanlock.aug
|
|
|
|
|
%{_datadir}/augeas/lenses/tests/test_libvirt_sanlock.aug
|
|
|
|
@@ -2472,6 +2471,9 @@ exit 0
|
|
|
|
|
%{_unitdir}/virtchd.service
|
|
|
|
|
%{_unitdir}/virtchd.socket
|
|
|
|
|
%{_libdir}/libvirt/connection-driver/libvirt_driver_ch.so
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/libvirt/ch.conf
|
|
|
|
|
%{_datadir}/augeas/lenses/libvirtd_ch.aug
|
|
|
|
|
%{_datadir}/augeas/lenses/tests/test_libvirtd_ch.aug
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%files client
|
|
|
|
@@ -2534,6 +2536,7 @@ exit 0
|
|
|
|
|
%attr(4750, root, virtlogin) %{_bindir}/virt-login-shell
|
|
|
|
|
%{_libexecdir}/virt-login-shell-helper
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/libvirt/virt-login-shell.conf
|
|
|
|
|
%{_sysusersdir}/libvirt-login-shell.conf
|
|
|
|
|
%{_mandir}/man1/virt-login-shell.1*
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
@@ -2692,6 +2695,90 @@ exit 0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Jan 26 2026 Richard W.M. Jones <rjones@redhat.com> - 12.0.0-3
|
|
|
|
|
- Backport fix for IPv6 connections to ESXi
|
|
|
|
|
|
|
|
|
|
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 12.0.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 15 2026 Daniel P. Berrangé <berrange@redhat.com> - 12.0.0-1
|
|
|
|
|
- Update to 12.0.0
|
|
|
|
|
|
|
|
|
|
* Mon Jan 12 2026 Daniel P. Berrangé <berrange@redhat.com> - 11.10.0-3
|
|
|
|
|
- Disable -Werror on ELN
|
|
|
|
|
|
|
|
|
|
* Thu Jan 08 2026 Richard W.M. Jones <rjones@redhat.com> - 11.10.0-2
|
|
|
|
|
- Rebuild for xen 4.21.0
|
|
|
|
|
|
|
|
|
|
* Mon Dec 01 2025 Cole Robinson <crobinso@redhat.com> - 11.10.0-1
|
|
|
|
|
- Update to version 11.10.0
|
|
|
|
|
|
|
|
|
|
* Mon Nov 17 2025 Richard W.M. Jones <rjones@redhat.com> - 11.9.0-3
|
|
|
|
|
- Add upstream patches to fix parallel libguestfs
|
|
|
|
|
|
|
|
|
|
* Tue Nov 4 2025 Tom Callaway <spot@fedoraproject.org> - 11.9.0-2
|
|
|
|
|
- rebuild against new fuse3
|
|
|
|
|
|
|
|
|
|
* Mon Nov 3 2025 Daniel P. Berrangé <berrange@redhat.com> - 11.9.0-1
|
|
|
|
|
- Update to 11.9.0 release
|
|
|
|
|
|
|
|
|
|
* Wed Oct 29 2025 Peter Robinson <pbrobinson@fedoraproject.org> - 11.8.0-3
|
|
|
|
|
- Build against fuse3, supported since 8.2
|
|
|
|
|
|
|
|
|
|
* Tue Oct 14 2025 Cole Robinson <crobinso@redhat.com> - 11.8.0-2
|
|
|
|
|
- Fix build with latest wireshark
|
|
|
|
|
|
|
|
|
|
* Wed Oct 01 2025 Cole Robinson <crobinso@redhat.com> - 11.8.0-1
|
|
|
|
|
- Update to version 11.8.0
|
|
|
|
|
|
|
|
|
|
* Thu Sep 04 2025 Adam Williamson <awilliam@redhat.com> - 11.7.0-3
|
|
|
|
|
- Rebuild on a side tag
|
|
|
|
|
|
|
|
|
|
* Thu Sep 04 2025 Adam Williamson <awilliam@redhat.com> - 11.7.0-2
|
|
|
|
|
- Rebuild for libiscsi.so.11
|
|
|
|
|
|
|
|
|
|
* Tue Sep 02 2025 Cole Robinson <crobinso@redhat.com> - 11.7.0-1
|
|
|
|
|
- Update to version 11.7.0
|
|
|
|
|
|
|
|
|
|
* Tue Aug 05 2025 Cole Robinson <crobinso@redhat.com> - 11.6.0-1
|
|
|
|
|
- Update to version 11.6.0
|
|
|
|
|
|
|
|
|
|
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 11.5.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jul 16 2025 Richard W.M. Jones <rjones@redhat.com> - 11.5.0-2
|
|
|
|
|
- Rebuild for updated Xen
|
|
|
|
|
|
|
|
|
|
* Wed Jul 09 2025 Cole Robinson <crobinso@redhat.com> - 11.5.0-1
|
|
|
|
|
- Update to version 11.5.0
|
|
|
|
|
|
|
|
|
|
* Fri Jun 20 2025 Cole Robinson <crobinso@redhat.com> - 11.4.0-2
|
|
|
|
|
- Fix dumpxml failures after migration (bz 2369243)
|
|
|
|
|
|
|
|
|
|
* Mon Jun 02 2025 Cole Robinson <crobinso@redhat.com> - 11.4.0-1
|
|
|
|
|
- Update to version 11.4.0
|
|
|
|
|
|
|
|
|
|
* Thu May 08 2025 Adam Williamson <awilliam@redhat.com> - 11.3.0-3
|
|
|
|
|
- Properly obsolete libvirt-daemon-driver-storage-zfs
|
|
|
|
|
|
|
|
|
|
* Thu May 08 2025 Cole Robinson <crobinso@redhat.com> - 11.3.0-2
|
|
|
|
|
- zfs-fuse is gone from rawhide, drop libvirt-daemon-storage-zfs
|
|
|
|
|
|
|
|
|
|
* Wed May 07 2025 Cole Robinson <crobinso@redhat.com> - 11.3.0-1
|
|
|
|
|
- Update to version 11.3.0
|
|
|
|
|
|
|
|
|
|
* Tue Apr 29 2025 Daniel P. Berrangé <berrange@redhat.com> - 11.2.0-2
|
|
|
|
|
- Fix install of Ampere 1 ARM CPU model (rhbz #2361196)
|
|
|
|
|
- Fix location of mount, umount (rhbz #2359196)
|
|
|
|
|
- Fix location of numad (rhbz #2359736)
|
|
|
|
|
- Fix tests on rebuild with latest GCC 15
|
|
|
|
|
|
|
|
|
|
* Tue Apr 01 2025 Cole Robinson <crobinso@redhat.com> - 11.2.0-1
|
|
|
|
|
- Update to version 11.2.0
|
|
|
|
|
|
|
|
|
|
* Mon Mar 03 2025 Cole Robinson <crobinso@redhat.com> - 11.1.0-1
|
|
|
|
|
- Update to version 11.1.0
|
|
|
|
|
|
|
|
|
|
* Fri Jan 17 2025 Cole Robinson <crobinso@redhat.com> - 11.0.0-1
|
|
|
|
|
- Update to version 11.0.0
|
|
|
|
|
|
|
|
|
|