Disable zchunk in RHEL builds

There are no plans to enable zchunk support in RHEL.  createrepo_c and
librepo also disable their zchunk support in RHEL builds.
This commit is contained in:
Yaakov Selkowitz 2023-08-28 17:31:24 -04:00
parent 4a4c274cc9
commit 57fddd3288

View File

@ -16,7 +16,11 @@
%bcond_without arch_repo %bcond_without arch_repo
# For handling deb + rpm at the same time # For handling deb + rpm at the same time
%bcond_without multi_semantics %bcond_without multi_semantics
%if %{defined rhel}
%bcond_with zchunk
%else
%bcond_without zchunk %bcond_without zchunk
%endif
%bcond_without zstd %bcond_without zstd
%define __cmake_switch(b:) %[%{expand:%%{?with_%{-b*}}} ? "ON" : "OFF"] %define __cmake_switch(b:) %[%{expand:%%{?with_%{-b*}}} ? "ON" : "OFF"]