diff --git a/contrib/debian/control b/contrib/debian/control index 31b2b95244..35eda28c1e 100644 --- a/contrib/debian/control +++ b/contrib/debian/control @@ -230,7 +230,7 @@ Architecture: any Depends: ${shlibs:Depends}, netdata (= ${source:Version}) Pre-Depends: libcap2-bin, adduser -Recommends: netdata-plugin-ebpf (= ${source:Version} ) +Recommends: netdata-plugin-ebpf (= ${source:Version}) [amd64] Conflicts: netdata (<< ${source:Version}) Description: The network viewer plugin for the Netdata Agent This plugin allows the Netdata Agent to provide network connection diff --git a/netdata.spec.in b/netdata.spec.in index b4ab5122dc..14eda6c184 100644 --- a/netdata.spec.in +++ b/netdata.spec.in @@ -1000,11 +1000,13 @@ Summary: The network viewer plugin for the Netdata Agent Group: Applications/System Requires: %{name} = %{version} Conflicts: %{name} < %{version} +%if 0%{?_have_ebpf} %if 0%{?centos_ver} != 7 Recommends: %{name}-plugin-ebpf = %{version} %else Requires: %{name}-plugin-ebpf = %{version} %endif +%endif %description plugin-network-viewer This plugin allows the Netdata Agent to provide network connection