RPM: Added elfutils-libelf-devel for build with eBPF (again) (#15192)
The same commit as https://github.com/netdata/netdata/pull/14552
Konstantin Shalygin committed
Jun 15, 2023 at 14:10 UTC
4ce6422c9fac738138842b332b54bcc75ae82e3d
1 file changed
+13
-3
netdata.spec.in
+13
-3
@@ -174,13 +174,21 @@ Suggests: netdata-plugin-cups
174
# Note: Some or all of the Packages may be found in the EPEL repo,
175
# rather than the standard ones
176
177
-# nfacct plugin dependencies
177
+# epbf plugin dependencies
178
+%if 0%{?_have_ebpf}
179
+%if 0%{?suse_version}
180
+BuildRequires: libelf-devel
181
+%else
182
+BuildRequires: elfutils-libelf-devel
183
+%endif
184
+%endif
185
+# end ebpf plugin dependencies
186
187
+# nfacct plugin dependencies
188
%if 0%{?_have_nfacct}
189
BuildRequires: libmnl-devel
190
BuildRequires: libnetfilter_acct-devel
191
%endif
183
-
192
# end nfacct plugin dependencies
193
194
# freeipmi plugin dependencies
@@ -883,6 +891,8 @@ fi
891
%caps(cap_dac_read_search=ep) %attr(0750,root,netdata) %{_libexecdir}/%{name}/plugins.d/debugfs.plugin
892
893
%changelog
894
+* Wed Jun 14 2023 Konstantin Shalygin <k0ste@k0ste.ru> 0.0.0-20
895
+- Added eBPF build dependency (again)
896
* Fri Apr 07 2023 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-19
897
- Split additional plugins out in their own packages.
898
* Tue Mar 21 2023 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-18
@@ -927,7 +937,7 @@ First draft refactor on package dependencies section
937
* Wed Jan 02 2019 Pawel Krupa <pkrupa@redhat.com> - 0.0.0-3
938
- Temporary set version statically
939
- Fix changelog ordering
930
-- Comment-out node.d configuration directory
940
+- Comment-out node.d configuration directory
941
* Wed Jan 02 2019 Pawel Krupa <pkrupa@redhat.com> - 0.0.0-2
942
- Fix permissions for log files
943
* Sun Nov 15 2015 Alon Bar-Lev <alonbl@redhat.com> - 0.0.0-1