diff --git a/mybatis.spec b/mybatis.spec index d098136283db0d178a1f4309fb6ffab2022e33ae..ec42533ccbd52ba31dc70cc09e4763eb7d5e0220 100644 --- a/mybatis.spec +++ b/mybatis.spec @@ -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 - 3.5.10-2 +- Update spec for riscv64 due to OOM error + * Wed Apr 03 2024 Ge Wang - 3.5.10-1 - Upgrade to version 3.5.10