summaryrefslogtreecommitdiffstats
path: root/netdata.spec.in
diff options
context:
space:
mode:
authorTasos Katsoulas <12612986+tkatsoulas@users.noreply.github.com>2024-03-02 23:20:34 +0200
committerGitHub <noreply@github.com>2024-03-02 23:20:34 +0200
commit08189cc25a60b67e67b829b2b00d1ebdcf102ae4 (patch)
tree6ce98c46ab91239a13faf912259a0e5734e308bf /netdata.spec.in
parent65f6445d516ebaf45428f2799f28aecfaf81a170 (diff)
Amend the logic of ebpf-plugin package suggestion for network-viewer plugin (#17085)
--------- Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>
Diffstat (limited to 'netdata.spec.in')
-rw-r--r--netdata.spec.in2
1 files changed, 2 insertions, 0 deletions
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