Make kernel tarball dist independent of %{dist}
Resolves: RHEL-108999 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:
parent
63ecf2ea18
commit
b6c972520a
@ -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: libbpf
|
||||
Version: 1.6.0
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Libbpf library
|
||||
|
||||
License: LGPL-2.1-only OR BSD-2-Clause
|
||||
|
||||
Loading…
Reference in New Issue
Block a user