import CS bpftool-7.5.0-802.el9_6

This commit is contained in:
eabdullin 2025-03-31 09:44:14 +00:00
parent 73a57d0b2c
commit 22333007a4
3 changed files with 16 additions and 6 deletions

View File

@ -1 +1 @@
9b239ceda508da104244567d18df093ec0fac059 SOURCES/linux-5.14.0-535.el9.tar.xz
4b27ad336caadb68190b286270b11569ebfb0a04 SOURCES/linux-5.14.0-557.el9.tar.xz

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/linux-5.14.0-535.el9.tar.xz
SOURCES/linux-5.14.0-557.el9.tar.xz

View File

@ -9,15 +9,16 @@
# used as kernel tar.
# RHEL kernel version-release
%define kver 5.14.0-535
%define source linux-%{kver}%{?dist}
%define kver 5.14.0-557
%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: 800%{?dist}
Release: 802%{?dist}
Summary: Inspection and simple manipulation of eBPF programs and maps
%global libname libbpf
@ -49,7 +50,7 @@ manipulation of eBPF programs and maps.
# We need to use vmlinux.h from kernel-devel rather than the one from the running system
%define kernel_version %(rpm -q --qf "%%{VERSION}-%%{RELEASE}.%%{ARCH}" kernel-devel)
pushd tools/bpf/bpftool
%make_build EXTRA_CFLAGS="%{build_cflags}" EXTRA_LDFLAGS="%{build_ldflags}" VMLINUX_H="/usr/src/kernels/%{kernel_version}/vmlinux.h"
%make_build EXTRA_CFLAGS="%{build_cflags}" EXTRA_CXXFLAGS="%{build_cflags}" EXTRA_LDFLAGS="%{build_ldflags}" VMLINUX_H="/usr/src/kernels/%{kernel_version}/vmlinux.h"
%install
pushd tools/bpf/bpftool
@ -62,6 +63,15 @@ pushd tools/bpf/bpftool
%changelog
## START: Generated by rpmautospec
* Thu Mar 06 2025 Viktor Malik <vmalik@redhat.com> - 7.5.0-5
- Make kernel tarball dist independent of %%{dist}
* Wed Mar 05 2025 Viktor Malik <vmalik@redhat.com> - 7.5.0-4
- Update to BPF 6.12 rebase
* Wed Mar 05 2025 Viktor Malik <vmalik@redhat.com> - 7.5.0-3
- Fix LLVM feature detection
* Fri Jan 10 2025 Ziqian SUN (Zamir) <zsun@redhat.com> - 7.5.0-2
- Initial gating test for bpftool