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 <vmalik@redhat.com>
This commit is contained in:
Viktor Malik 2025-08-13 12:04:54 +02:00
parent c0f5a7cd28
commit 61f7379fbc
No known key found for this signature in database
GPG Key ID: AF7A2E1F6EE74FB3

View File

@ -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