Add parameter to avoid oom exceptions for riscv64

(cherry picked from commit 02cd820b69e5f800306d21eddfd1435fddab9865)
This commit is contained in:
Dingli Zhang 2024-04-30 08:05:27 +08:00 committed by openeuler-sync-bot
parent 082c3d0a89
commit 356a78204c

View File

@ -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 <dingli@iscas.ac.cn> - 1.10.0-3
- Add parameter to avoid oom exceptions for riscv64
* Mon Aug 22 2022 yinyongkang <yinyongkang@kylinos.cn> - 1.10.0-2
- Type:CVE
- ID:CVE-2022-34916