diff options
author | Austin S. Hemmelgarn <austin@netdata.cloud> | 2023-09-21 05:20:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-21 12:20:17 +0300 |
commit | 0051e8167c25ebc9e49e7733557503addc8b6832 (patch) | |
tree | 01e309f853ccdf7d1fb4dadd6d00b253a01270fc /netdata.spec.in | |
parent | 303d46d8f383c7ff6a71789a951bd5cee5818ed9 (diff) |
Fix package builds on Rocky Linux. (#16026)
Diffstat (limited to 'netdata.spec.in')
-rw-r--r-- | netdata.spec.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/netdata.spec.in b/netdata.spec.in index dc53907ed7..fe4d19bd7b 100644 --- a/netdata.spec.in +++ b/netdata.spec.in @@ -21,13 +21,17 @@ 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} +%if 0%{?centos_ver} >= 8 && 0%{!?almalinux_ver:1} && 0%{!?rocky_ver:1} +%global _golang_build 1 +%else +%if 0%{?centos_ver} >= 10 %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 |