From c72c5c6702cd1e52411ed389ae02cf02a531fd353f268cfcbbad709d0939bc56 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 18 Aug 2021 09:14:17 +0000 Subject: [PATCH] Accepting request 912858 from home:michals - When building with system libbpf depend also on new enough Linux headers. OBS-URL: https://build.opensuse.org/request/show/912858 OBS-URL: https://build.opensuse.org/package/show/devel:tools/dwarves?expand=0&rev=76 --- dwarves.changes | 5 +++++ dwarves.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/dwarves.changes b/dwarves.changes index d8c7f94..77cba66 100644 --- a/dwarves.changes +++ b/dwarves.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Aug 18 09:00:01 UTC 2021 - Michal Suchanek + +- When building with system libbpf depend also on new enough Linux headers. + ------------------------------------------------------------------- Fri Aug 13 11:35:30 UTC 2021 - msuchanek@suse.com diff --git a/dwarves.spec b/dwarves.spec index 866d4a2..a627fd5 100644 --- a/dwarves.spec +++ b/dwarves.spec @@ -41,6 +41,7 @@ BuildRequires: libdw-devel >= 0.171 BuildRequires: libelf-devel BuildRequires: pkgconfig %if 0%{?have_libbpf} +BuildRequires: linux-glibc-devel >= 5.13 BuildRequires: pkgconfig(libbpf) >= 0.4.0 %endif BuildRequires: pkgconfig(zlib)