From 77d88be30dc9f4938727b272885e53dfb3c1f7a7 Mon Sep 17 00:00:00 2001 From: Dingli Zhang Date: Tue, 10 Jun 2025 12:03:37 +0000 Subject: [PATCH] Fix build error for riscv64 --- rocketmq.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/rocketmq.spec b/rocketmq.spec index a4aa37f..42a17d0 100644 --- a/rocketmq.spec +++ b/rocketmq.spec @@ -5,7 +5,7 @@ Summary: Cloud-Native, Distributed Messaging and Streaming Name: rocketmq Version: 5.1.5 -Release: 44 +Release: 45 License: Apache-2.0 Group: Applications/Message URL: https://rocketmq.apache.org/ @@ -69,6 +69,9 @@ Apache RocketMQ is a cloud native messaging and streaming platform, making it si %autopatch -m 24 %build +%ifarch riscv64 +export MAVEN_OPTS="-Xmx4G -Dspotbugs.timeout=6000000" +%endif mvn -Prelease-all -DskipTests clean package -U %install @@ -93,6 +96,9 @@ exit 0 %changelog +* Tue Jun 10 2025 Dingli Zhang - 5.1.5-45 +- Fix build error for riscv64 + * Mon Dec 11 2023 ShiZhili - 5.1.3-44 - backport fix some bugs -- Gitee