From 4a8f2b531ba3ba57762673d0f3e9b1a4d9d2d303 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Gronowski?= Date: Wed, 20 May 2026 17:47:52 +0200 Subject: [PATCH] rpm: avoid broken rpmlint dependency on EL10 derivatives MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit AlmaLinux 10 and Rocky Linux 10 currently resolve rpmlint from EPEL to a package that depends on python3.12dist(zstandard), which is not available in the configured repositories. Signed-off-by: Paweł Gronowski --- hack/scripts/rpm-init.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hack/scripts/rpm-init.sh b/hack/scripts/rpm-init.sh index 2c0a4d3d..cb1c8bc8 100755 --- a/hack/scripts/rpm-init.sh +++ b/hack/scripts/rpm-init.sh @@ -74,6 +74,12 @@ case "$pkgrelease" in dnf install -y git rpm-build rpmlint dnf-plugins-core epel-release dnf config-manager --set-enabled powertools ;; + rockylinux10|almalinux10) + dnf install -y dnf-plugins-core epel-release + dnf config-manager --set-enabled crb + # skipping rpmlint until EPEL provides its EL10 dependencies + dnf install -y git rpm-build + ;; rockylinux*|almalinux*) dnf install -y dnf-plugins-core epel-release dnf config-manager --set-enabled crb