!9 [sync] PR-7: RISCV64: update spec.

From: @openeuler-sync-bot 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2024-04-28 01:21:06 +00:00 committed by Gitee
commit 2c7e175530
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -45,7 +45,7 @@
Name: sbt Name: sbt
Version: %{sbt_version} Version: %{sbt_version}
Release: 3 Release: 4
Summary: The simple build tool for Scala and Java projects Summary: The simple build tool for Scala and Java projects
BuildArch: noarch BuildArch: noarch
@ -366,7 +366,10 @@ sed -i -e 's/"-dontnote",/"-dontnote", "-dontshrink", "-dontoptimize",/g' projec
sed -i -e 's/mapLibraryJars.all filterNot in[.]toSet./mapLibraryJars(all.map {f => new java.io.File(f.getCanonicalPath())} filterNot in.map {f => new java.io.File(f.getCanonicalPath())}.toSet)/g' project/Proguard.scala sed -i -e 's/mapLibraryJars.all filterNot in[.]toSet./mapLibraryJars(all.map {f => new java.io.File(f.getCanonicalPath())} filterNot in.map {f => new java.io.File(f.getCanonicalPath())}.toSet)/g' project/Proguard.scala
%build %build
%if "%{_arch}" == "riscv64"
function keepalive() { while true; do sleep 3500; date; done }
keepalive &
%endif
export SBT_IVY_DIR=$PWD/ivy-local export SBT_IVY_DIR=$PWD/ivy-local
export SBT_BOOT_DIR=$PWD/sbt-boot-dir export SBT_BOOT_DIR=$PWD/sbt-boot-dir
export SBT_BOOT_PROPERTIES=rpmbuild-sbt.boot.properties export SBT_BOOT_PROPERTIES=rpmbuild-sbt.boot.properties
@ -477,6 +480,9 @@ done
%doc README.md LICENSE NOTICE %doc README.md LICENSE NOTICE
%changelog %changelog
* Fri Mar 1 2024 liyanan zke_012020 <keer.oerv@isrc.iscas.ac.cn> - 0.13.1-4
- Update spec for riscv64
* Tue May 10 2022 liyanan <liyanan32@h-partners.com> - 0.13.1-3 * Tue May 10 2022 liyanan <liyanan32@h-partners.com> - 0.13.1-3
- License compliance rectification - License compliance rectification