2 Commits

4 changed files with 18 additions and 9 deletions

Binary file not shown.

3
libbpf-1.6.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:16f31349c70764cba8e0fad3725cc9f52f6cf952554326aa0229daaa21ef4fbd
size 1045487

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Aug 25 19:09:42 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 1.6.2:
* add proper LIBBPF_API annotation to bpf_object__prepare() API,
to make it usable in shared library mode
* small fix up to better handle DEVMAP/DEVMAP_HASH maps
-------------------------------------------------------------------
Mon Jul 21 03:31:14 UTC 2025 - Shung-Hsi Yu <shung-hsi.yu@suse.com>
@@ -27,7 +35,7 @@ Mon Jul 21 03:31:14 UTC 2025 - Shung-Hsi Yu <shung-hsi.yu@suse.com>
* __arg_untrusted annotation for BPF global subprog arguments;
* bpf_stream_printk() macro for working with BPF streams;
* bpf_usdt_arg_size() API
- update to 1.6.0:
- update to 1.6.1:
* fixing a possible crash when handling BPF arena global variable relocations
- drop 0001-libbpf-Add-identical-pointer-detection-to-btf_dedup_.patch, which
is now included

View File

@@ -2,6 +2,7 @@
# spec file for package libbpf
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 Andreas Stieger <Andreas.Stieger@gmx.de>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +20,7 @@
%define sover_major 1
%define libname libbpf%{sover_major}
Name: libbpf
Version: 1.6.1
Version: 1.6.2
Release: 0
Summary: C library for managing eBPF programs and maps
License: LGPL-2.1-only
@@ -60,17 +61,17 @@ libbpf is a C library which provides API for managing eBPF programs and maps.
%build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
cd src
%make_build V=1 CFLAGS="%{optflags}"
%make_build CFLAGS="%{optflags}"
%install
cd src
%make_install V=1
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
%ldconfig_scriptlets -n %{libname}
%files -n %{libname}
%{_libdir}/%{name}.so.%{sover_major}*
%license LICENSE LICENSE.BSD-2-Clause LICENSE.LGPL-2.1
%{_libdir}/%{name}.so.%{sover_major}{,.*}
%files devel
%license LICENSE LICENSE.BSD-2-Clause LICENSE.LGPL-2.1