From: Daniel P. Berrangé Date: Thu, 8 May 2025 10:16:30 +0000 (+0100) Subject: rpm: disable zfs on Fedora >= 43 X-Git-Tag: v11.4.0-rc1~88 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd30147e740d49fdb5844160e480ca34611f75e5;p=thirdparty%2Flibvirt.git rpm: disable zfs on Fedora >= 43 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é --- 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