disable _go_build in centos 8 & 9 (#16183)
Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>
Tasos Katsoulas committed
Oct 13, 2023 at 20:57 UTC
b1caf0172c352e7199f4994aaf2cb73618b8239b
1 file changed
+1
-5
netdata.spec.in
+1
-5
@@ -21,17 +21,13 @@ AutoReqProv: yes
21
22
# Disable go.d.plugin build on outdated golang distros
23
%if 0%{?centos_ver:1}
24
-%if 0%{?centos_ver} >= 8 && 0%{!?almalinux_ver:1} && 0%{!?rocky_ver:1}
25
-%global _golang_build 1
26
-%else
27
-%if 0%{?centos_ver} >= 10
24
+%if 0%{?centos_ver} >= 10 && 0%{?almalinux_ver:1} && 0%{?rocky_ver:1}
25
%global _golang_build 1
26
%else
27
%global _golang_build 0
28
%global _missing_build_ids_terminate_build 0
29
%endif
30
%endif
34
-%endif
31
32
# Disable eBPF for architectures other than x86
33
%ifarch x86_64 i386