!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:
commit
8e8662ff18
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user