|
|
|
@@ -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
|
|
|
|
|
%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
|
|
|
|
|
|
|
|
|
@@ -19,7 +19,7 @@
|
|
|
|
|
%define arches_x86 %{ix86} x86_64
|
|
|
|
|
|
|
|
|
|
%define arches_systemtap_64bit %{arches_64bit}
|
|
|
|
|
%define arches_dmidecode %{arches_x86}
|
|
|
|
|
%define arches_dmidecode %{arches_x86} aarch64 riscv64
|
|
|
|
|
%define arches_xen %{arches_x86} aarch64
|
|
|
|
|
%if 0%{?fedora}
|
|
|
|
|
%define arches_xen x86_64 aarch64
|
|
|
|
@@ -29,12 +29,24 @@
|
|
|
|
|
%define arches_zfs %{arches_x86} %{power64} %{arm}
|
|
|
|
|
%define arches_numactl %{arches_x86} %{power64} aarch64 s390x
|
|
|
|
|
%define arches_numad %{arches_x86} %{power64} aarch64
|
|
|
|
|
%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}
|
|
|
|
@@ -42,6 +54,12 @@
|
|
|
|
|
%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
|
|
|
|
@@ -64,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
|
|
|
|
@@ -84,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
|
|
|
|
@@ -123,6 +135,9 @@
|
|
|
|
|
%ifnarch %{arches_ceph}
|
|
|
|
|
%define with_storage_rbd 0
|
|
|
|
|
%endif
|
|
|
|
|
%ifnarch %{arches_ch}
|
|
|
|
|
%define with_ch 0
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# RHEL doesn't ship many hypervisor drivers
|
|
|
|
|
%if 0%{?rhel}
|
|
|
|
@@ -132,14 +147,11 @@
|
|
|
|
|
%define with_libxl 0
|
|
|
|
|
%define with_hyperv 0
|
|
|
|
|
%define with_lxc 0
|
|
|
|
|
%define with_ch 0
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%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}
|
|
|
|
@@ -181,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
|
|
|
|
@@ -190,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
|
|
|
|
@@ -201,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
|
|
|
|
@@ -252,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.
|
|
|
|
@@ -288,8 +294,8 @@
|
|
|
|
|
|
|
|
|
|
Summary: Library providing a simple virtualization API
|
|
|
|
|
Name: libvirt
|
|
|
|
|
Version: 10.6.0
|
|
|
|
|
Release: 2%{?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/
|
|
|
|
|
|
|
|
|
@@ -298,10 +304,9 @@ URL: https://libvirt.org/
|
|
|
|
|
%endif
|
|
|
|
|
Source: https://download.libvirt.org/%{?mainturl}libvirt-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
# Fix `virsh domifaddr --source=arp` on kernel 6.10 (bz #2302245)
|
|
|
|
|
Patch0001: 0001-virarptable-Properly-calculate-rtattr-length.patch
|
|
|
|
|
Patch0002: 0002-virarptable-Fix-check-for-message-length.patch
|
|
|
|
|
Patch0003: 0003-virarptable-End-parsing-earlier-in-case-of-NLMSG_DON.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}
|
|
|
|
@@ -322,6 +327,9 @@ Obsoletes: libvirt-daemon-uml <= 5.0.0
|
|
|
|
|
%if %{with_vbox}
|
|
|
|
|
Requires: libvirt-daemon-driver-vbox = %{version}-%{release}
|
|
|
|
|
%endif
|
|
|
|
|
%if %{with_ch}
|
|
|
|
|
Requires: libvirt-daemon-driver-ch = %{version}-%{release}
|
|
|
|
|
%endif
|
|
|
|
|
Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
|
|
|
|
|
Requires: libvirt-daemon-driver-interface = %{version}-%{release}
|
|
|
|
|
Requires: libvirt-daemon-driver-secret = %{version}-%{release}
|
|
|
|
@@ -335,9 +343,9 @@ Requires: libvirt-libs = %{version}-%{release}
|
|
|
|
|
# listed against each sub-RPM
|
|
|
|
|
BuildRequires: python3-docutils
|
|
|
|
|
BuildRequires: meson >= 0.56.0
|
|
|
|
|
BuildRequires: ninja-build
|
|
|
|
|
BuildRequires: git
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: ninja
|
|
|
|
|
BuildRequires: git-core
|
|
|
|
|
BuildRequires: perl
|
|
|
|
|
BuildRequires: python3
|
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
|
# For xmllint
|
|
|
|
@@ -353,35 +361,30 @@ BuildRequires: gcc
|
|
|
|
|
%if %{with_libxl}
|
|
|
|
|
BuildRequires: xen-devel
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: glib2-devel >= 2.58
|
|
|
|
|
BuildRequires: glib-devel >= 2.66
|
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
|
BuildRequires: readline-devel
|
|
|
|
|
BuildRequires: pkgconfig(bash-completion) >= 2.0
|
|
|
|
|
BuildRequires: libtasn1-devel
|
|
|
|
|
BuildRequires: gnutls-devel
|
|
|
|
|
BuildRequires: libattr-devel
|
|
|
|
|
BuildRequires: attr-devel
|
|
|
|
|
# For pool-build probing for existing pools
|
|
|
|
|
BuildRequires: libblkid-devel >= 2.17
|
|
|
|
|
BuildRequires: util-linux >= 2.17
|
|
|
|
|
# for augparse, optionally used in testing
|
|
|
|
|
BuildRequires: augeas
|
|
|
|
|
BuildRequires: systemd-devel >= 185
|
|
|
|
|
BuildRequires: libpciaccess-devel >= 0.10.9
|
|
|
|
|
BuildRequires: yajl-devel
|
|
|
|
|
BuildRequires: json-c-devel
|
|
|
|
|
%if %{with_sanlock}
|
|
|
|
|
BuildRequires: sanlock-devel >= 2.4
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: libpcap-devel >= 1.5.0
|
|
|
|
|
BuildRequires: libnl3-devel
|
|
|
|
|
BuildRequires: libnl-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
|
|
|
|
|
BuildRequires: acl-devel
|
|
|
|
|
# From QEMU RPMs, used by virstoragetest
|
|
|
|
|
BuildRequires: /usr/bin/qemu-img
|
|
|
|
|
%endif
|
|
|
|
@@ -389,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
|
|
|
|
@@ -406,7 +405,6 @@ BuildRequires: librados-devel
|
|
|
|
|
BuildRequires: librbd-devel
|
|
|
|
|
%endif
|
|
|
|
|
%if %{with_storage_gluster}
|
|
|
|
|
BuildRequires: glusterfs-api-devel >= 3.4.1
|
|
|
|
|
BuildRequires: glusterfs-devel >= 3.4.1
|
|
|
|
|
%endif
|
|
|
|
|
%if %{with_numactl}
|
|
|
|
@@ -415,7 +413,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
|
|
|
|
@@ -424,21 +422,14 @@ BuildRequires: libssh2-devel >= 1.3.0
|
|
|
|
|
BuildRequires: netcf-devel >= 0.2.2
|
|
|
|
|
%endif
|
|
|
|
|
%if %{with_esx}
|
|
|
|
|
BuildRequires: libcurl-devel
|
|
|
|
|
BuildRequires: curl-devel
|
|
|
|
|
%endif
|
|
|
|
|
%if %{with_hyperv}
|
|
|
|
|
BuildRequires: libwsman-devel >= 2.6.3
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: audit-libs-devel
|
|
|
|
|
BuildRequires: audit-devel
|
|
|
|
|
BuildRequires: systemtap-sdt-devel
|
|
|
|
|
BuildRequires: /usr/bin/dtrace
|
|
|
|
|
# For mount/umount in FS driver
|
|
|
|
|
BuildRequires: util-linux
|
|
|
|
|
# For showmount in FS driver (netfs discovery)
|
|
|
|
|
BuildRequires: nfs-utils
|
|
|
|
|
%if %{with_numad}
|
|
|
|
|
BuildRequires: numad
|
|
|
|
|
%endif
|
|
|
|
|
%if %{with_wireshark}
|
|
|
|
|
BuildRequires: wireshark-devel
|
|
|
|
|
%endif
|
|
|
|
@@ -448,7 +439,7 @@ BuildRequires: libssh-devel >= 0.8.1
|
|
|
|
|
BuildRequires: libtirpc-devel
|
|
|
|
|
%if %{with_firewalld_zone}
|
|
|
|
|
# Needed for the firewalld_reload macro
|
|
|
|
|
BuildRequires: firewalld-filesystem
|
|
|
|
|
BuildRequires: firewalld
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
@@ -519,6 +510,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
|
|
|
|
@@ -533,8 +526,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
|
|
|
|
@@ -561,6 +556,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
|
|
|
|
@@ -674,8 +670,8 @@ an implementation of the secret key APIs.
|
|
|
|
|
Summary: Storage driver plugin including base backends for the libvirtd daemon
|
|
|
|
|
Requires: libvirt-daemon-common = %{version}-%{release}
|
|
|
|
|
Requires: libvirt-libs = %{version}-%{release}
|
|
|
|
|
Requires: nfs-utils
|
|
|
|
|
# For mkfs
|
|
|
|
|
Recommends: nfs-utils
|
|
|
|
|
# For mkfs and mount/umount
|
|
|
|
|
Requires: util-linux
|
|
|
|
|
# For storage wiping with different algorithms
|
|
|
|
|
Requires: scrub
|
|
|
|
@@ -787,9 +783,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
|
|
|
|
@@ -813,7 +813,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
|
|
|
|
|
|
|
|
|
@@ -840,7 +843,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
|
|
|
|
@@ -1000,7 +1003,6 @@ Requires: libvirt-daemon-driver-libxl = %{version}-%{release}
|
|
|
|
|
Requires: libvirt-daemon-driver-interface = %{version}-%{release}
|
|
|
|
|
Requires: libvirt-daemon-driver-network = %{version}-%{release}
|
|
|
|
|
Requires: libvirt-daemon-driver-nodedev = %{version}-%{release}
|
|
|
|
|
Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
|
|
|
|
|
Requires: libvirt-daemon-driver-secret = %{version}-%{release}
|
|
|
|
|
Requires: libvirt-daemon-driver-storage = %{version}-%{release}
|
|
|
|
|
Requires: xen
|
|
|
|
@@ -1034,6 +1036,20 @@ Server side daemon and driver required to manage the virtualization
|
|
|
|
|
capabilities of VirtualBox
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if %{with_ch}
|
|
|
|
|
%package daemon-driver-ch
|
|
|
|
|
Summary: Cloud-Hypervisor driver plugin for libvirtd daemon
|
|
|
|
|
Requires: libvirt-daemon-common = %{version}-%{release}
|
|
|
|
|
Requires: libvirt-daemon-log = %{version}-%{release}
|
|
|
|
|
Requires: libvirt-libs = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description daemon-driver-ch
|
|
|
|
|
The ch driver plugin for the libvirtd daemon, providing
|
|
|
|
|
an implementation of the hypervisor driver APIs by
|
|
|
|
|
Cloud-Hypervisor
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package client
|
|
|
|
|
Summary: Client side utilities of the libvirt library
|
|
|
|
|
Requires: libvirt-libs = %{version}-%{release}
|
|
|
|
@@ -1079,6 +1095,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
|
|
|
|
@@ -1101,6 +1121,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}
|
|
|
|
|
|
|
|
|
@@ -1196,9 +1217,15 @@ exit 1
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if %{with_esx}
|
|
|
|
|
%define arg_esx -Ddriver_esx=enabled -Dcurl=enabled
|
|
|
|
|
%define arg_esx -Ddriver_esx=enabled
|
|
|
|
|
%else
|
|
|
|
|
%define arg_esx -Ddriver_esx=disabled -Dcurl=disabled
|
|
|
|
|
%define arg_esx -Ddriver_esx=disabled
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if %{with_esx} || %{with_ch}
|
|
|
|
|
%define arg_curl -Dcurl=enabled
|
|
|
|
|
%else
|
|
|
|
|
%define arg_curl -Dcurl=disabled
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if %{with_hyperv}
|
|
|
|
@@ -1213,6 +1240,12 @@ exit 1
|
|
|
|
|
%define arg_vmware -Ddriver_vmware=disabled
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if %{with_ch}
|
|
|
|
|
%define arg_ch -Ddriver_ch=enabled
|
|
|
|
|
%else
|
|
|
|
|
%define arg_ch -Ddriver_ch=disabled
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if %{with_storage_rbd}
|
|
|
|
|
%define arg_storage_rbd -Dstorage_rbd=enabled
|
|
|
|
|
%else
|
|
|
|
@@ -1309,12 +1342,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}
|
|
|
|
@@ -1343,11 +1370,12 @@ export SOURCE_DATE_EPOCH=$(stat --printf='%Y' %{_specdir}/libvirt.spec)
|
|
|
|
|
-Ddriver_remote=enabled \
|
|
|
|
|
-Ddriver_test=enabled \
|
|
|
|
|
%{?arg_esx} \
|
|
|
|
|
%{?arg_curl} \
|
|
|
|
|
%{?arg_hyperv} \
|
|
|
|
|
%{?arg_vmware} \
|
|
|
|
|
%{?arg_ch} \
|
|
|
|
|
-Ddriver_vz=disabled \
|
|
|
|
|
-Ddriver_bhyve=disabled \
|
|
|
|
|
-Ddriver_ch=disabled \
|
|
|
|
|
%{?arg_remote_mode} \
|
|
|
|
|
-Ddriver_interface=enabled \
|
|
|
|
|
-Ddriver_network=enabled \
|
|
|
|
@@ -1374,7 +1402,7 @@ export SOURCE_DATE_EPOCH=$(stat --printf='%Y' %{_specdir}/libvirt.spec)
|
|
|
|
|
-Dapparmor_profiles=disabled \
|
|
|
|
|
-Dsecdriver_apparmor=disabled \
|
|
|
|
|
-Dudev=enabled \
|
|
|
|
|
-Dyajl=enabled \
|
|
|
|
|
-Djson_c=enabled \
|
|
|
|
|
%{?arg_sanlock} \
|
|
|
|
|
-Dlibpcap=enabled \
|
|
|
|
|
%{?arg_nbdkit} \
|
|
|
|
@@ -1397,7 +1425,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 \
|
|
|
|
@@ -1427,6 +1454,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 \
|
|
|
|
@@ -1446,6 +1474,7 @@ export SOURCE_DATE_EPOCH=$(stat --printf='%Y' %{_specdir}/libvirt.spec)
|
|
|
|
|
-Dfuse=disabled \
|
|
|
|
|
-Dglusterfs=disabled \
|
|
|
|
|
-Dhost_validate=disabled \
|
|
|
|
|
-Djson_c=disabled \
|
|
|
|
|
-Dlibiscsi=disabled \
|
|
|
|
|
-Dnbdkit=disabled \
|
|
|
|
|
-Dnbdkit_config_default=disabled \
|
|
|
|
@@ -1483,12 +1512,10 @@ 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 \
|
|
|
|
|
-Dwireshark_dissector=disabled \
|
|
|
|
|
-Dyajl=disabled \
|
|
|
|
|
%{?enable_werror}
|
|
|
|
|
%mingw_ninja
|
|
|
|
|
%endif
|
|
|
|
@@ -1549,6 +1576,10 @@ rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/libvirtd.libxl
|
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/libvirtd_libxl.aug
|
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/tests/test_libvirtd_libxl.aug
|
|
|
|
|
%endif
|
|
|
|
|
%if ! %{with_ch}
|
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/libvirtd_ch.aug
|
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/tests/test_libvirtd_ch.aug
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# Copied into libvirt-docs subpackage eventually
|
|
|
|
|
mv $RPM_BUILD_ROOT%{_datadir}/doc/libvirt libvirt-docs
|
|
|
|
@@ -1759,10 +1790,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
|
|
|
|
@@ -1885,6 +1918,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/
|
|
|
|
@@ -1900,6 +1934,7 @@ if ! getent passwd 'qemu' >/dev/null; then
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
exit 0
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%posttrans daemon-driver-qemu
|
|
|
|
|
%libvirt_sysconfig_posttrans virtqemud
|
|
|
|
@@ -1948,6 +1983,19 @@ exit 0
|
|
|
|
|
%libvirt_systemd_unix_preun virtxend
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if %{with_ch}
|
|
|
|
|
%pre daemon-driver-ch
|
|
|
|
|
%libvirt_sysconfig_pre virtchd
|
|
|
|
|
%libvirt_systemd_unix_pre virtchd
|
|
|
|
|
|
|
|
|
|
%posttrans daemon-driver-ch
|
|
|
|
|
%libvirt_sysconfig_posttrans virtchd
|
|
|
|
|
%libvirt_systemd_unix_posttrans virtchd
|
|
|
|
|
|
|
|
|
|
%preun daemon-driver-ch
|
|
|
|
|
%libvirt_systemd_unix_preun virtchd
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%pre daemon-config-network
|
|
|
|
|
%libvirt_systemd_config_pre libvirtd
|
|
|
|
|
%libvirt_systemd_config_pre virtnetworkd
|
|
|
|
@@ -2013,8 +2061,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
|
|
|
|
|
|
|
|
|
@@ -2035,7 +2085,9 @@ exit 0
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/libvirt/libvirtd.conf
|
|
|
|
|
%config(noreplace) %{_prefix}/lib/sysctl.d/60-libvirtd.conf
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd
|
|
|
|
|
%dir %{_datadir}/augeas/lenses
|
|
|
|
|
%{_datadir}/augeas/lenses/libvirtd.aug
|
|
|
|
|
%dir %{_datadir}/augeas/lenses/tests
|
|
|
|
|
%{_datadir}/augeas/lenses/tests/test_libvirtd.aug
|
|
|
|
|
%attr(0755, root, root) %{_sbindir}/libvirtd
|
|
|
|
|
%{_mandir}/man8/libvirtd.8*
|
|
|
|
@@ -2046,7 +2098,7 @@ exit 0
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/sasl2/libvirt.conf
|
|
|
|
|
%dir %{_datadir}/libvirt/
|
|
|
|
|
%ghost %dir %{_rundir}/libvirt/
|
|
|
|
|
%ghost %dir %{_rundir}/libvirt/common/
|
|
|
|
|
%ghost %dir %attr(0700, root, root) %{_rundir}/libvirt/common/
|
|
|
|
|
%dir %attr(0755, root, root) %{_localstatedir}/lib/libvirt/
|
|
|
|
|
%dir %attr(0711, root, root) %{_localstatedir}/lib/libvirt/images/
|
|
|
|
|
%dir %attr(0711, root, root) %{_localstatedir}/lib/libvirt/filesystems/
|
|
|
|
@@ -2056,9 +2108,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
|
|
|
|
@@ -2086,7 +2140,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
|
|
|
|
@@ -2132,7 +2185,7 @@ exit 0
|
|
|
|
|
%{_unitdir}/virtinterfaced-ro.socket
|
|
|
|
|
%{_unitdir}/virtinterfaced-admin.socket
|
|
|
|
|
%attr(0755, root, root) %{_sbindir}/virtinterfaced
|
|
|
|
|
%ghost %dir %{_rundir}/libvirt/interface/
|
|
|
|
|
%ghost %dir %attr(0700, root, root) %{_rundir}/libvirt/interface/
|
|
|
|
|
%{_libdir}/libvirt/connection-driver/libvirt_driver_interface.so
|
|
|
|
|
%{_mandir}/man8/virtinterfaced.8*
|
|
|
|
|
|
|
|
|
@@ -2174,7 +2227,7 @@ exit 0
|
|
|
|
|
%{_unitdir}/virtnodedevd-ro.socket
|
|
|
|
|
%{_unitdir}/virtnodedevd-admin.socket
|
|
|
|
|
%attr(0755, root, root) %{_sbindir}/virtnodedevd
|
|
|
|
|
%ghost %dir %{_rundir}/libvirt/nodedev/
|
|
|
|
|
%ghost %dir %attr(0700, root, root) %{_rundir}/libvirt/nodedev/
|
|
|
|
|
%{_libdir}/libvirt/connection-driver/libvirt_driver_nodedev.so
|
|
|
|
|
%{_mandir}/man8/virtnodedevd.8*
|
|
|
|
|
|
|
|
|
@@ -2189,8 +2242,8 @@ exit 0
|
|
|
|
|
%attr(0755, root, root) %{_sbindir}/virtnwfilterd
|
|
|
|
|
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/nwfilter/
|
|
|
|
|
%ghost %dir %{_rundir}/libvirt/network/
|
|
|
|
|
%ghost %dir %{_rundir}/libvirt/nwfilter-binding/
|
|
|
|
|
%ghost %dir %{_rundir}/libvirt/nwfilter/
|
|
|
|
|
%ghost %dir %attr(0700, root, root) %{_rundir}/libvirt/nwfilter-binding/
|
|
|
|
|
%ghost %dir %attr(0700, root, root) %{_rundir}/libvirt/nwfilter/
|
|
|
|
|
%{_libdir}/libvirt/connection-driver/libvirt_driver_nwfilter.so
|
|
|
|
|
%{_mandir}/man8/virtnwfilterd.8*
|
|
|
|
|
|
|
|
|
@@ -2204,7 +2257,7 @@ exit 0
|
|
|
|
|
%{_unitdir}/virtsecretd-admin.socket
|
|
|
|
|
%attr(0755, root, root) %{_sbindir}/virtsecretd
|
|
|
|
|
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/secrets/
|
|
|
|
|
%ghost %dir %{_rundir}/libvirt/secrets/
|
|
|
|
|
%ghost %dir %attr(0700, root, root) %{_rundir}/libvirt/secrets/
|
|
|
|
|
%{_libdir}/libvirt/connection-driver/libvirt_driver_secret.so
|
|
|
|
|
%{_mandir}/man8/virtsecretd.8*
|
|
|
|
|
|
|
|
|
@@ -2225,7 +2278,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
|
|
|
|
@@ -2267,9 +2319,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
|
|
|
|
@@ -2283,11 +2332,11 @@ exit 0
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/libvirt/qemu.conf
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/libvirt/qemu-lockd.conf
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd.qemu
|
|
|
|
|
%ghost %dir %{_rundir}/libvirt/qemu/
|
|
|
|
|
%ghost %dir %{_rundir}/libvirt/qemu/dbus/
|
|
|
|
|
%ghost %dir %{_rundir}/libvirt/qemu/passt/
|
|
|
|
|
%ghost %dir %{_rundir}/libvirt/qemu/slirp/
|
|
|
|
|
%ghost %dir %{_rundir}/libvirt/qemu/swtpm/
|
|
|
|
|
%ghost %dir %attr(0755, %{qemu_user}, %{qemu_group}) %{_rundir}/libvirt/qemu/
|
|
|
|
|
%ghost %dir %attr(0770, %{qemu_user}, %{qemu_group}) %{_rundir}/libvirt/qemu/dbus/
|
|
|
|
|
%ghost %dir %attr(0755, %{qemu_user}, %{qemu_group}) %{_rundir}/libvirt/qemu/passt/
|
|
|
|
|
%ghost %dir %attr(0755, %{qemu_user}, %{qemu_group}) %{_rundir}/libvirt/qemu/slirp/
|
|
|
|
|
%ghost %dir %attr(0770, %{qemu_user}, %{qemu_group}) %{_rundir}/libvirt/qemu/swtpm/
|
|
|
|
|
%dir %attr(0751, %{qemu_user}, %{qemu_group}) %{_localstatedir}/lib/libvirt/qemu/
|
|
|
|
|
%dir %attr(0751, %{qemu_user}, %{qemu_group}) %{_localstatedir}/lib/libvirt/qemu/checkpoint/
|
|
|
|
|
%dir %attr(0751, %{qemu_user}, %{qemu_group}) %{_localstatedir}/lib/libvirt/qemu/dump/
|
|
|
|
@@ -2401,7 +2450,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
|
|
|
|
@@ -2411,6 +2459,22 @@ exit 0
|
|
|
|
|
%attr(0755, root, root) %{_libexecdir}/libvirt_sanlock_helper
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if %{with_ch}
|
|
|
|
|
%files daemon-driver-ch
|
|
|
|
|
%attr(0755, root, root) %{_sbindir}/virtchd
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/libvirt/virtchd.conf
|
|
|
|
|
%{_datadir}/augeas/lenses/virtchd.aug
|
|
|
|
|
%{_datadir}/augeas/lenses/tests/test_virtchd.aug
|
|
|
|
|
%{_unitdir}/virtchd-admin.socket
|
|
|
|
|
%{_unitdir}/virtchd-ro.socket
|
|
|
|
|
%{_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
|
|
|
|
|
%{_mandir}/man1/virsh.1*
|
|
|
|
|
%{_mandir}/man1/virt-xml-validate.1*
|
|
|
|
@@ -2441,15 +2505,17 @@ exit 0
|
|
|
|
|
%{_libdir}/libvirt-lxc.so.*
|
|
|
|
|
%{_libdir}/libvirt-admin.so.*
|
|
|
|
|
%dir %{_datadir}/libvirt/
|
|
|
|
|
%{_datadir}/libvirt/test-screenshot.png
|
|
|
|
|
%dir %{_datadir}/libvirt/schemas/
|
|
|
|
|
%{_datadir}/libvirt/schemas/*.rng
|
|
|
|
|
%dir %{_datadir}/systemtap/tapset/
|
|
|
|
|
%{_datadir}/systemtap/tapset/libvirt_probes*.stp
|
|
|
|
|
%{_datadir}/systemtap/tapset/libvirt_functions.stp
|
|
|
|
|
%if %{with_qemu}
|
|
|
|
|
%{_datadir}/systemtap/tapset/libvirt_qemu_probes*.stp
|
|
|
|
|
%endif
|
|
|
|
|
%{_datadir}/libvirt/schemas/*.rng
|
|
|
|
|
%dir %{_datadir}/libvirt/cpu_map
|
|
|
|
|
%{_datadir}/libvirt/cpu_map/*.xml
|
|
|
|
|
%{_datadir}/libvirt/test-screenshot.png
|
|
|
|
|
|
|
|
|
|
%if %{with_wireshark}
|
|
|
|
|
%files wireshark
|
|
|
|
@@ -2469,6 +2535,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
|
|
|
|
|
|
|
|
|
@@ -2627,6 +2694,108 @@ 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
|
|
|
|
|
|
|
|
|
|
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 10.10.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Dec 02 2024 Cole Robinson <crobinso@redhat.com> - 10.10.0-1
|
|
|
|
|
- Update to version 10.10.0
|
|
|
|
|
|
|
|
|
|
* Fri Nov 1 2024 Daniel P. Berrangé <berrange@redhat.com> - 10.9.0-1
|
|
|
|
|
- Update to version 10.9.0
|
|
|
|
|
|
|
|
|
|
* Tue Oct 01 2024 Cole Robinson <crobinso@redhat.com> - 10.8.0-1
|
|
|
|
|
- Update to version 10.8.0
|
|
|
|
|
|
|
|
|
|
* Mon Sep 02 2024 Cole Robinson <crobinso@redhat.com> - 10.7.0-1
|
|
|
|
|
- Update to version 10.7.0
|
|
|
|
|
|
|
|
|
|
* Tue Aug 27 2024 Cole Robinson <crobinso@redhat.com> - 10.6.0-2
|
|
|
|
|
- Fix `virsh domifaddr --source=arp` on kernel 6.10 (bz #2302245)
|
|
|
|
|
- Add new systemtap-sdt-dtrace to build deps
|
|
|
|
|