From bd30147e740d49fdb5844160e480ca34611f75e5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20P=2E=20Berrang=C3=A9?= Date: Thu, 8 May 2025 11:16:30 +0100 Subject: [PATCH] rpm: disable zfs on Fedora >= 43 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The zfs-fuse package has been dead upstream for a long time and is now retired in Fedora rawhide. Reviewed-by: Michal Privoznik Signed-off-by: Daniel P. Berrangé --- libvirt.spec.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index 9217820137..e12bec18d5 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -85,8 +85,8 @@ %endif %endif -# Fedora has zfs-fuse -%if 0%{?fedora} +# Fedora had zfs-fuse until F43 +%if 0%{?fedora} && 0%{?fedora} < 43 %define with_storage_zfs 0%{!?_without_storage_zfs:1} %else %define with_storage_zfs 0 @@ -700,6 +700,9 @@ Requires: /usr/bin/qemu-img Obsoletes: libvirt-daemon-driver-storage-rbd < 5.2.0 %endif Obsoletes: libvirt-daemon-driver-storage-sheepdog < 8.8.0 + %if !%{with_storage_zfs} +Obsoletes: libvirt-daemon-driver-storage-zfs < 11.4.0 + %endif %description daemon-driver-storage-core The storage driver plugin for the libvirtd daemon, providing -- 2.47.2