Make kernel tarball dist independent of %{dist}
Resolves: RHEL-80792 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 (c9s will use .el9 while RHEL will use .el9_Z). Signed-off-by: Viktor Malik <vmalik@redhat.com>
This commit is contained in:
parent
0c61d81ce8
commit
cb7c5cc435
@ -5,14 +5,15 @@
|
||||
|
||||
# RHEL kernel version-release
|
||||
%define kver 5.14.0-557
|
||||
%define source linux-%{kver}%{?dist}
|
||||
%define kdist .el9
|
||||
%define source linux-%{kver}%{kdist}
|
||||
|
||||
Name: bpftool
|
||||
Version: 7.5.0
|
||||
# Currently, bpftool built from kernel uses kernel's release version (500+).
|
||||
# In order to do the transition smoothly, raise it to a sufficiently big number.
|
||||
# Once bpftool moves to 7.6.0, reset the release to 1.
|
||||
Release: 801%{?dist}
|
||||
Release: 802%{?dist}
|
||||
Summary: Inspection and simple manipulation of eBPF programs and maps
|
||||
|
||||
%global libname libbpf
|
||||
|
||||
Loading…
Reference in New Issue
Block a user