From bddd30e428531d7522a86f15fe832b37278f48c4 Mon Sep 17 00:00:00 2001 From: Nicolas MASSE Date: Thu, 30 Oct 2025 10:36:51 +0100 Subject: [PATCH] wip --- centos-10/SPECS/libvirt.spec | 13 +++++++++---- centos-9/.copr/mock_chroot.cfg | 1 - 2 files changed, 9 insertions(+), 5 deletions(-) delete mode 100644 centos-9/.copr/mock_chroot.cfg diff --git a/centos-10/SPECS/libvirt.spec b/centos-10/SPECS/libvirt.spec index 6b5a37d..c824206 100644 --- a/centos-10/SPECS/libvirt.spec +++ b/centos-10/SPECS/libvirt.spec @@ -76,11 +76,16 @@ %define with_storage_gluster 0 %endif -# Fedora had zfs-fuse until F43 -%if 0%{?fedora} && 0%{?fedora} < 43 - %define with_storage_zfs 0%{!?_without_storage_zfs:1} +# Local overrides for Copr +%if 0%{?copr_projectname:1} + %define with_storage_zfs 1 %else - %define with_storage_zfs 0 + # 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 + %endif %endif %define with_storage_iscsi_direct 0%{!?_without_storage_iscsi_direct:1} diff --git a/centos-9/.copr/mock_chroot.cfg b/centos-9/.copr/mock_chroot.cfg deleted file mode 100644 index a6c710b..0000000 --- a/centos-9/.copr/mock_chroot.cfg +++ /dev/null @@ -1 +0,0 @@ -config_opts['macros']['%with_storage_zfs'] = '1'