summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTasos Katsoulas <tasos@netdata.cloud>2023-10-13 18:02:35 +0300
committerTasos Katsoulas <tasos@netdata.cloud>2023-10-13 18:02:35 +0300
commitab045009c2a4e067a32bda4dfa9de6182b35a580 (patch)
tree2d58542af1d3258c8ae59273896c9e2db77c90f2
parent5c0d7a26a88f60367062e7c10a4065f0b5057dc5 (diff)
include the omitted conditions and fix typofix-centos-stream-go
Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>
-rw-r--r--netdata.spec.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/netdata.spec.in b/netdata.spec.in
index ce2b9fde4b..b4e16ad624 100644
--- a/netdata.spec.in
+++ b/netdata.spec.in
@@ -21,14 +21,13 @@ AutoReqProv: yes
# Disable go.d.plugin build on outdated golang distros
%if 0%{?centos_ver:1}
-%if 0%{?centos_ver} >= 10
+%if 0%{?centos_ver} >= 10 && 0%{?almalinux_ver:1} && 0%{?rocky_ver:1}
%global _golang_build 1
%else
%global _golang_build 0
%global _missing_build_ids_terminate_build 0
%endif
%endif
-%endif
# Disable eBPF for architectures other than x86
%ifarch x86_64 i386