From ed83975aa9366c948f604e440b62649f1f7de53f Mon Sep 17 00:00:00 2001 From: danfimov Date: Thu, 13 Nov 2025 14:04:10 +0000 Subject: [PATCH 1/2] Enable zabbix-agent2 building for riscv64 --- SPECS/zabbix.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SPECS/zabbix.spec b/SPECS/zabbix.spec index 53743ea..75067e3 100644 --- a/SPECS/zabbix.spec +++ b/SPECS/zabbix.spec @@ -50,7 +50,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 -- 2.47.3 From c4300eb9ba9d898e3ae8a974a847709b26b0a189 Mon Sep 17 00:00:00 2001 From: danfimov Date: Fri, 14 Nov 2025 11:50:56 +0000 Subject: [PATCH 2/2] Add golang as build requirement for zabbix-agent2 --- SPECS/zabbix.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SPECS/zabbix.spec b/SPECS/zabbix.spec index 75067e3..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} -- 2.47.3