diff --git a/flume.spec b/flume.spec index 8e275c6a68beac96298470cce187fc5251b1b33b..b557cb8e99514f31c7f50ca3ba8e839f833c123d 100644 --- a/flume.spec +++ b/flume.spec @@ -1,6 +1,6 @@ Name: flume Version: 1.10.0 -Release: 2 +Release: 3 Summary: Apache Flume is a distributed, reliable, and availble service for efficiently collecting, aggregating, and moving large amounts of log data. License: Public Domain and MIT and Apache 2.0 @@ -49,6 +49,9 @@ find -name "*.cmd" -delete # for javadoc encoding export LC_ALL=en_US.UTF-8 +%if "%{_arch}" == "riscv64" +export JAVA_TOOL_OPTIONS="-Xmx4096m" +%endif mvn package -DskipTests -Pdist -Dtar %install @@ -97,6 +100,9 @@ popd %dir %{_javadir}/%{name} %changelog +* Fri Apr 19 2024 Dingli Zhang - 1.10.0-3 +- Add parameter to avoid oom exceptions for riscv64 + * Mon Aug 22 2022 yinyongkang - 1.10.0-2 - Type:CVE - ID:CVE-2022-34916