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