@cryptotaxi247 / netdata-1 / commits / 0051e8167

Fix package builds on Rocky Linux. (#16026)

Austin S. Hemmelgarn committed Sep 21, 2023 at 05:20 UTC 0051e8167c25ebc9e49e7733557503addc8b6832
1 file changed +5 -1
netdata.spec.in
+5 -1
@@ -21,13 +21,17 @@ 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}
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
28 %global _golang_build 1
29 %else
30 %global _golang_build 0
31 %global _missing_build_ids_terminate_build 0
32 %endif
33 %endif
34 +%endif
35
36 # Disable eBPF for architectures other than x86
37 %ifarch x86_64 i386