summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--netdata.spec.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/netdata.spec.in b/netdata.spec.in
index dc53907ed7..fe4d19bd7b 100644
--- a/netdata.spec.in
+++ b/netdata.spec.in
@@ -21,13 +21,17 @@ AutoReqProv: yes
# Disable go.d.plugin build on outdated golang distros
%if 0%{?centos_ver:1}
-%if 0%{?centos_ver} >= 8 && 0%{!?almalinux_ver:1}
+%if 0%{?centos_ver} >= 8 && 0%{!?almalinux_ver:1} && 0%{!?rocky_ver:1}
+%global _golang_build 1
+%else
+%if 0%{?centos_ver} >= 10
%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