Enable zabbix-agent2 building for riscv64 #1

Open
danfimov wants to merge 2 commits from danfimov-patch-1 into main

View File

@ -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