forked from pool/bpftool
Accepting request 925264 from Base:System
OBS-URL: https://build.opensuse.org/request/show/925264 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bpftool?expand=0&rev=3
This commit is contained in:
commit
e36af0dd94
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 14 11:40:44 UTC 2021 - Shung-Hsi Yu <shung-hsi.yu@suse.com>
|
||||||
|
|
||||||
|
- Enable libbfd feature to support dumping jited form of BPF programs
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 8 16:28:37 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
|
Wed Jan 8 16:28:37 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
|
||||||
|
|
||||||
|
12
bpftool.spec
12
bpftool.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package bpftool
|
# spec file for package bpftool
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -23,7 +23,8 @@ Release: 0
|
|||||||
Summary: Tool for inspection and manipulation of BPF programs and maps
|
Summary: Tool for inspection and manipulation of BPF programs and maps
|
||||||
License: GPL-2.0-only
|
License: GPL-2.0-only
|
||||||
Group: Development/Tools/Other
|
Group: Development/Tools/Other
|
||||||
Url: http://www.kernel.org/
|
URL: http://www.kernel.org/
|
||||||
|
BuildRequires: binutils-devel
|
||||||
BuildRequires: docutils
|
BuildRequires: docutils
|
||||||
BuildRequires: kernel-source
|
BuildRequires: kernel-source
|
||||||
BuildRequires: libelf-devel
|
BuildRequires: libelf-devel
|
||||||
@ -39,7 +40,12 @@ sed -i -e 's/CFLAGS += -O2/CFLAGS = $(RPM_OPT_FLAGS)/' Makefile
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
cd tools/bpf/bpftool
|
cd tools/bpf/bpftool
|
||||||
%make_build V=1 feature-reallocarray=1 all doc
|
%make_build V=1 \
|
||||||
|
feature-reallocarray=1 \
|
||||||
|
feature-libbfd-liberty=1 \
|
||||||
|
feature-disassembler-four-args=1 \
|
||||||
|
all \
|
||||||
|
doc
|
||||||
|
|
||||||
%install
|
%install
|
||||||
cd tools/bpf/bpftool
|
cd tools/bpf/bpftool
|
||||||
|
Loading…
x
Reference in New Issue
Block a user