From 5149d0519a349f6e275a233ca914e9fd3c6645212b5e3d9d960ec97efecce8f5 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 6 Mar 2022 16:26:17 +0000 Subject: [PATCH] Accepting request 959375 from home:jengelh:branches:devel:libraries:c_c++ - Update to release 0.7.0 OBS-URL: https://build.opensuse.org/request/show/959375 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libbpf?expand=0&rev=14 --- libbpf-0.6.1.tar.gz | 3 --- libbpf-0.7.0.tar.gz | 3 +++ libbpf.changes | 13 +++++++++++++ libbpf.spec | 10 +++------- 4 files changed, 19 insertions(+), 10 deletions(-) delete mode 100644 libbpf-0.6.1.tar.gz create mode 100644 libbpf-0.7.0.tar.gz diff --git a/libbpf-0.6.1.tar.gz b/libbpf-0.6.1.tar.gz deleted file mode 100644 index 6689972..0000000 --- a/libbpf-0.6.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ce3a8eb32d85ac48490256597736d8b27e0a5e947a0731613b7aba6b4ae43ac0 -size 858232 diff --git a/libbpf-0.7.0.tar.gz b/libbpf-0.7.0.tar.gz new file mode 100644 index 0000000..ea81186 --- /dev/null +++ b/libbpf-0.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5083588ce5a3a620e395ee1e596af77b4ec5771ffc71cff2af49dfee38c06361 +size 900125 diff --git a/libbpf.changes b/libbpf.changes index c094688..2757210 100644 --- a/libbpf.changes +++ b/libbpf.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Fri Mar 4 10:18:54 UTC 2022 - Jan Engelhardt + +- Update to release 0.7.0 + * legacy BPF map definitions (using struct bpf_map_def) are + deprecated when LIBBPF_STRICT_MAP_DEFINITIONS is passed to + libbpf_set_strict_mode(). Please use BTF-defined map + definitions. + * ability to control and capture BPF verifier log output on + per-object and per-program level + * CO-RE support and other improvements for "light skeleton" + * improved compilation when system BTF UAPI headers are outdated + ------------------------------------------------------------------- Sat Dec 11 10:37:27 UTC 2021 - Jan Engelhardt diff --git a/libbpf.spec b/libbpf.spec index 7cb7875..8ba440f 100644 --- a/libbpf.spec +++ b/libbpf.spec @@ -1,7 +1,7 @@ # # spec file for package libbpf # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %define sover_major 0 %define libname libbpf%{sover_major} Name: libbpf -Version: 0.6.1 +Version: 0.7.0 Release: 0 Summary: C library for managing eBPF programs and maps License: LGPL-2.1-only @@ -49,8 +49,7 @@ Requires: linux-glibc-devel >= 5.16 libbpf is a C library which provides API for managing eBPF programs and maps. %prep -%setup -q -%autopatch -p1 +%autosetup %build cd src @@ -61,9 +60,6 @@ cd src %make_install V=1 rm -f %{buildroot}%{_libdir}/%{name}.a -# sigh forgot it -perl -i -lpe 's{Version: 0.6.0}{Version: %version}' "%{buildroot}/%{_libdir}/pkgconfig/libbpf.pc" - %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig