From 57fddd3288263f9b6db3a33228d4d95a48c959da Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Aug 28 2023 21:31:24 +0000 Subject: 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. --- diff --git a/libsolv.spec b/libsolv.spec index c6a4a8f..d7b9a34 100644 --- a/libsolv.spec +++ b/libsolv.spec @@ -16,7 +16,11 @@ %bcond_without arch_repo # For handling deb + rpm at the same time %bcond_without multi_semantics +%if %{defined rhel} +%bcond_with zchunk +%else %bcond_without zchunk +%endif %bcond_without zstd %define __cmake_switch(b:) %[%{expand:%%{?with_%{-b*}}} ? "ON" : "OFF"]