summaryrefslogtreecommitdiffstats
path: root/netdata.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'netdata.spec.in')
-rw-r--r--netdata.spec.in6
1 files changed, 1 insertions, 5 deletions
diff --git a/netdata.spec.in b/netdata.spec.in
index 777be68f93..b4e16ad624 100644
--- a/netdata.spec.in
+++ b/netdata.spec.in
@@ -21,17 +21,13 @@ 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} && 0%{!?rocky_ver:1}
-%global _golang_build 1
-%else
-%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