diff --git a/SPECS/zabbix.spec b/SPECS/zabbix.spec index 53743ea..12a9e3c 100644 --- a/SPECS/zabbix.spec +++ b/SPECS/zabbix.spec @@ -43,6 +43,8 @@ Patch9: java-gateway-el9.patch Patch10: el6.conf.patch +BuildRequires: golang + Buildroot: %{_tmppath}/zabbix-%{version}-%{release}-root-%(%{__id_u} -n) %{!?rhel: %global rhel 0} @@ -50,7 +52,7 @@ Buildroot: %{_tmppath}/zabbix-%{version}-%{release}-root-%(%{__id_u} -n) %{!?build_agent: %global build_agent 1} -%ifarch x86_64 aarch64 +%ifarch x86_64 aarch64 riscv64 %if 0%{?rhel} >= 7 || %{amzn} >= 2023 %{!?build_agent2: %global build_agent2 1} %endif