diff --git a/jboss-dmr.spec b/jboss-dmr.spec index 6e49eb32bf0efef3b372562dcb729cd842a2abe8..a05a668c36407795bb663fc78403cd3e52ccdd0e 100644 --- a/jboss-dmr.spec +++ b/jboss-dmr.spec @@ -2,7 +2,7 @@ %global namedversion %{version}%{?namedreltag} Name: jboss-dmr Version: 1.7.0 -Release: 1 +Release: 2 Summary: JBoss DMR License: LGPLv2+ and Apache-2.0 URL: https://github.com/jbossas/jboss-dmr @@ -26,7 +26,10 @@ This package contains the API documentation for %{name}. %pom_remove_plugin :maven-checkstyle-plugin %build -%mvn_build -f -- -Dsource=21 +%if "%{_arch}" == "riscv64" +export JAVA_TOOL_OPTIONS="-Xmx4096m" +%endif +%mvn_build %install %mvn_install @@ -36,6 +39,10 @@ This package contains the API documentation for %{name}. %files javadoc -f .mfiles-javadoc %changelog +* Thu Feb 15 2024 Dingli Zhang - 1.7.0-2 +- Remove useless -Dsource=21 and enable build test +- Update spec for riscv64 due to OOM compilation error + * Thu Feb 15 2024 zke_012020 - 1.7.0-1 - Upgrade to version 1.7.0