summaryrefslogtreecommitdiffstats
path: root/netdata.spec.in
diff options
context:
space:
mode:
authorTasos Katsoulas <12612986+tkatsoulas@users.noreply.github.com>2023-10-13 20:57:55 +0300
committerGitHub <noreply@github.com>2023-10-13 20:57:55 +0300
commitb1caf0172c352e7199f4994aaf2cb73618b8239b (patch)
treeaa6f91016795d9265f5863e76887153b1b8019d9 /netdata.spec.in
parentdec6f402e811fe12a12560196d7f2bfca9b37f62 (diff)
disable _go_build in centos 8 & 9 (#16183)
Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>
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