diff --git a/mxparser.spec b/mxparser.spec index 20b740e29539bd72af90450fdbd81621befb9fd6..df8ad571600ea51533962161603366317ec2779b 100644 --- a/mxparser.spec +++ b/mxparser.spec @@ -1,6 +1,6 @@ Name: mxparser Version: 1.2.2 -Release: 1 +Release: 2 License: xpp Summary: MXParser is a fork of xpp3_min 1.1.7 containing only the parser with merged changes of the Plexus fork. URL: https://github.com/x-stream/%{name} @@ -33,6 +33,11 @@ Help documents for mxparser. %pom_xpath_set 'pom:project/pom:properties/pom:version.java.test.target' 1.8 %build + +%if "%_arch" == "riscv64" +export JAVA_TOOL_OPTIONS="-Xmx4g" +%endif + %mvn_build -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 %install @@ -45,6 +50,9 @@ Help documents for mxparser. %files help -f .mfiles-javadoc %changelog +* Mon Apr 28 2025 lizijian - 1.2.2-2 +- Enlarge heap size to pass test on RISCV architecture + * Wed Aug 21 2024 yaoxin - 1.2.2-1 - Update to 1.2.2: * XML declaration must produce a START_DOCUMENT event.