Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2e6195f5f1 |
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,4 +2,3 @@
|
||||
/linux-6.12.0-83.el10.tar.xz
|
||||
/linux-6.12.0-103.el10.tar.xz
|
||||
/linux-6.12.0-164.el10.tar.xz
|
||||
/linux-6.12.0-230.el10.tar.xz
|
||||
|
||||
@ -4,13 +4,13 @@
|
||||
# used as kernel tar.
|
||||
|
||||
# RHEL kernel version-release
|
||||
%define kver 6.12.0-230
|
||||
%define kver 6.12.0-164
|
||||
%define kdist .el10
|
||||
%define source linux-%{kver}%{kdist}
|
||||
|
||||
Name: bpftool
|
||||
Version: 7.7.0
|
||||
Release: 3%{?dist}
|
||||
Release: 1%{?dist}
|
||||
Summary: Inspection and simple manipulation of eBPF programs and maps
|
||||
|
||||
%global libname libbpf
|
||||
@ -19,8 +19,6 @@ Summary: Inspection and simple manipulation of eBPF programs and maps
|
||||
License: GPL-2.0-only OR BSD-2-Clause
|
||||
Source: %{source}.tar.xz
|
||||
|
||||
ExcludeArch: %{ix86}
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: make
|
||||
BuildRequires: binutils-devel
|
||||
@ -42,7 +40,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_CXXFLAGS="%{build_cflags}" EXTRA_LDFLAGS="%{build_ldflags}" VMLINUX_H="/usr/src/kernels/%{kernel_version}/vmlinux.h"
|
||||
%make_build EXTRA_CFLAGS="%{build_cflags}" EXTRA_LDFLAGS="%{build_ldflags}" VMLINUX_H="/usr/src/kernels/%{kernel_version}/vmlinux.h"
|
||||
|
||||
%install
|
||||
pushd tools/bpf/bpftool
|
||||
|
||||
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (linux-6.12.0-230.el10.tar.xz) = f23261d35558606010aced8ff648fd49159e296c3f2e3736d32c388b840f015700192a5e8dc8f79f93c837987892e070f2eb1781d7da22c64eb9119c0caadcf6
|
||||
SHA512 (linux-6.12.0-164.el10.tar.xz) = d2256127ae933bb822f48124f7418d2d3de44515b653fa13ad70b064a4b3662d355d2e07a44d959f33f3c6092a6200f313eb58efe02199e1db99245d506e806f
|
||||
|
||||
Loading…
Reference in New Issue
Block a user