Update spec for riscv64 due to OOM error
(cherry picked from commit c0419aa4652abc4536be814733267cb26a6b4985)
This commit is contained in:
parent
c0bcb9c98c
commit
dfbb71c89a
@ -1,7 +1,7 @@
|
||||
%bcond_with test
|
||||
Name: mybatis
|
||||
Version: 3.5.10
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: SQL Mapping Framework for Java
|
||||
License: Apache 2.0
|
||||
URL: https://github.com/mybatis/mybatis-3
|
||||
@ -62,6 +62,9 @@ rm src/test/java/org/apache/ibatis/cache/SoftCacheTest.java
|
||||
%mvn_file :%{name} %{name}
|
||||
|
||||
%build
|
||||
%if "%{_arch}" == "riscv64"
|
||||
export JAVA_TOOL_OPTIONS="-Xmx4096m"
|
||||
%endif
|
||||
%mvn_build -b
|
||||
|
||||
%install
|
||||
@ -75,6 +78,9 @@ rm src/test/java/org/apache/ibatis/cache/SoftCacheTest.java
|
||||
%license LICENSE NOTICE
|
||||
|
||||
%changelog
|
||||
* Wed Sep 25 2024 Dingli Zhang <dingli@iscas.ac.cn> - 3.5.10-2
|
||||
- Update spec for riscv64 due to OOM error
|
||||
|
||||
* Wed Apr 03 2024 Ge Wang <wang__ge@126.com> - 3.5.10-1
|
||||
- Upgrade to version 3.5.10
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user