diff --git a/gradle.spec b/gradle.spec index 5175e9bb0e5d527af8025af6f87d18193e934e5b..babaf5893acc874c1fd6ac40b961590317f53745 100644 --- a/gradle.spec +++ b/gradle.spec @@ -1,7 +1,7 @@ %bcond_with bootstrap Name: gradle Version: 4.4.1 -Release: 3 +Release: 4 Summary: Build automation tool License: ASL 2.0 URL: http://www.gradle.org/ @@ -175,6 +175,9 @@ rm -r subprojects/resources-gcs rm -r subprojects/ide-native %build +%if "%{_arch}" == "riscv64" +export JAVA_TOOL_OPTIONS="-Xmx4096m" +%endif export LANG=en_US.UTF8 %if %{with bootstrap} mkdir -p subprojects/docs/src/main/resources @@ -237,6 +240,9 @@ install -p -m 644 man/gradle.1 %{buildroot}%{_mandir}/man1/gradle.1 %license LICENSE NOTICE %changelog +* Tue Apr 16 2024 Dingli Zhang - 4.4.1-4 +- Add -Xmx4096m for riscv64 + * Fri Jul 30 2021 chenyanpanHW - 4.4.1-3 - DESC: delete -S git from %autosetup, and delete BuildRequires git