From 4ce6422c9fac738138842b332b54bcc75ae82e3d Mon Sep 17 00:00:00 2001 From: Konstantin Shalygin Date: Thu, 15 Jun 2023 14:10:55 +0300 Subject: RPM: Added elfutils-libelf-devel for build with eBPF (again) (#15192) The same commit as https://github.com/netdata/netdata/pull/14552 --- netdata.spec.in | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'netdata.spec.in') diff --git a/netdata.spec.in b/netdata.spec.in index baf690660d..0b41b75b50 100644 --- a/netdata.spec.in +++ b/netdata.spec.in @@ -174,13 +174,21 @@ Suggests: netdata-plugin-cups # Note: Some or all of the Packages may be found in the EPEL repo, # rather than the standard ones -# nfacct plugin dependencies +# epbf plugin dependencies +%if 0%{?_have_ebpf} +%if 0%{?suse_version} +BuildRequires: libelf-devel +%else +BuildRequires: elfutils-libelf-devel +%endif +%endif +# end ebpf plugin dependencies +# nfacct plugin dependencies %if 0%{?_have_nfacct} BuildRequires: libmnl-devel BuildRequires: libnetfilter_acct-devel %endif - # end nfacct plugin dependencies # freeipmi plugin dependencies @@ -883,6 +891,8 @@ fi %caps(cap_dac_read_search=ep) %attr(0750,root,netdata) %{_libexecdir}/%{name}/plugins.d/debugfs.plugin %changelog +* Wed Jun 14 2023 Konstantin Shalygin 0.0.0-20 +- Added eBPF build dependency (again) * Fri Apr 07 2023 Austin Hemmelgarn 0.0.0-19 - Split additional plugins out in their own packages. * Tue Mar 21 2023 Austin Hemmelgarn 0.0.0-18 @@ -927,7 +937,7 @@ First draft refactor on package dependencies section * Wed Jan 02 2019 Pawel Krupa - 0.0.0-3 - Temporary set version statically - Fix changelog ordering -- Comment-out node.d configuration directory +- Comment-out node.d configuration directory * Wed Jan 02 2019 Pawel Krupa - 0.0.0-2 - Fix permissions for log files * Sun Nov 15 2015 Alon Bar-Lev - 0.0.0-1 -- cgit v1.2.3