forked from pool/libbpf
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
This commit is contained in:
parent
c621426241
commit
5149d0519a
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ce3a8eb32d85ac48490256597736d8b27e0a5e947a0731613b7aba6b4ae43ac0
|
||||
size 858232
|
3
libbpf-0.7.0.tar.gz
Normal file
3
libbpf-0.7.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5083588ce5a3a620e395ee1e596af77b4ec5771ffc71cff2af49dfee38c06361
|
||||
size 900125
|
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 4 10:18:54 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- 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 <jengelh@inai.de>
|
||||
|
||||
|
10
libbpf.spec
10
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user