From 1cd9a09b6dde478f476c6aa605eeabeaddcef405748c7faeb06d6e4d96b67862 Mon Sep 17 00:00:00 2001 From: Shung-Hsi Yu Date: Thu, 5 Jan 2023 07:31:19 +0000 Subject: [PATCH] Accepting request 1056129 from home:shunghsiyu:branches:bpf Remove requirement of linux-glibc-devel >= 5.16 for devel package They're no longer needed since libbpf v0.7, which includes commit 8404d1396c "libbpf: Define BTF_KIND_* constants in btf.h to avoid compilation errors" that defines the constants that used to be missing. OBS-URL: https://build.opensuse.org/request/show/1056129 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libbpf?expand=0&rev=29 --- libbpf.changes | 5 +++++ libbpf.spec | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/libbpf.changes b/libbpf.changes index 4ca2e25..dfe6c66 100644 --- a/libbpf.changes +++ b/libbpf.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jan 5 07:02:19 UTC 2023 - Shung-Hsi Yu + +- Remove requirement of linux-glibc-devel >= 5.16 for devel package + ------------------------------------------------------------------- Thu Dec 22 07:08:39 UTC 2022 - Dirk Müller diff --git a/libbpf.spec b/libbpf.spec index 49f08d0..33e3d87 100644 --- a/libbpf.spec +++ b/libbpf.spec @@ -1,7 +1,7 @@ # # spec file for package libbpf # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -42,7 +42,6 @@ libbpf is a C library which provides API for managing eBPF programs and maps. %package devel Summary: Development files for libbpf Requires: %{libname} = %{version} -Requires: linux-glibc-devel >= 5.16 %description devel libbpf is a C library which provides API for managing eBPF programs and maps. @@ -51,7 +50,6 @@ libbpf is a C library which provides API for managing eBPF programs and maps. Summary: Static library for libbpf Requires: %{libname} = %{version} Requires: %{name}-devel = %{version} -Requires: linux-glibc-devel >= 5.16 %description devel-static libbpf is a C library which provides API for managing eBPF programs and maps.