!13 [sync] PR-11: Add parameter to avoid oom exceptions for riscv64

From: @openeuler-sync-bot 
Reviewed-by: @Jingwiw, @yangzhao_kl 
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2024-05-23 10:57:49 +00:00 committed by Gitee
commit 8e8662ff18
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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