From ab045009c2a4e067a32bda4dfa9de6182b35a580 Mon Sep 17 00:00:00 2001 From: Tasos Katsoulas Date: Fri, 13 Oct 2023 18:02:35 +0300 Subject: include the omitted conditions and fix typo Signed-off-by: Tasos Katsoulas --- netdata.spec.in | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3