From 61f7379fbc043ba857cb136aa254301e71e2bb18 Mon Sep 17 00:00:00 2001 From: Viktor Malik Date: Wed, 13 Aug 2025 12:04:54 +0200 Subject: [PATCH] Make kernel tarball dist independent of %{dist} Resolves: RHEL-109000 There are situations when the kernel tarball dist is different from the package dist, e.g. when building via CentOS Stream during the exception phase (c10s will use .el10 while RHEL will use .el10_Y). OpenScanHub may sometimes use .el10_Y, too. Signed-off-by: Viktor Malik --- bpftool.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bpftool.spec b/bpftool.spec index 27ad276..bab8c94 100644 --- a/bpftool.spec +++ b/bpftool.spec @@ -5,11 +5,12 @@ # RHEL kernel version-release %define kver 6.12.0-103 -%define source linux-%{kver}%{?dist} +%define kdist .el10 +%define source linux-%{kver}%{kdist} Name: bpftool Version: 7.6.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Inspection and simple manipulation of eBPF programs and maps %global libname libbpf