summaryrefslogtreecommitdiffstats
path: root/netdata.spec.in
diff options
context:
space:
mode:
authorTasos Katsoulas <12612986+tkatsoulas@users.noreply.github.com>2023-12-07 14:48:06 +0200
committerGitHub <noreply@github.com>2023-12-07 14:48:06 +0200
commit35403d6c55707180539ea8a2757b0c2f82182f6b (patch)
treefbdb0ab95539afbc6ff64671d66e1616547a52fd /netdata.spec.in
parent5809d93570ec5f1385b7875f9d8d7a7de6d2d34b (diff)
Make the systemd-journal mandatory package on Centos 7 and Amazon linux 2 (#16562)
--------- Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>
Diffstat (limited to 'netdata.spec.in')
-rw-r--r--netdata.spec.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/netdata.spec.in b/netdata.spec.in
index be693de3f5..13d9dee9c3 100644
--- a/netdata.spec.in
+++ b/netdata.spec.in
@@ -168,10 +168,12 @@ Requires: %{name}-plugin-nfacct = %{version}
%if 0%{?_have_freeipmi} && 0%{?centos_ver} != 6 && 0%{?centos_ver} != 7 && 0%{?amazon_linux} != 2
Suggests: %{name}-plugin-freeipmi = %{version}
%endif
-%if 0%{?centos_ver} != 6 && 0%{?centos_ver} != 7 && 0%{?amazon_linux} != 2
+%if 0%{?centos_ver} != 7 && 0%{?amazon_linux} != 2
Suggests: %{name}-plugin-cups = %{version}
Recommends: %{name}-plugin-systemd-journal = %{version}
Recommends: %{name}-plugin-logs-management = %{version}
+%else
+Requires: %{name}-plugin-systemd-journal = %{version}
%endif