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'