update spec for riscv64

(cherry picked from commit f007ecb5a2714540bac1eafab63d90133c857685)
This commit is contained in:
zke 2024-03-02 11:10:17 +08:00 committed by openeuler-sync-bot
parent dbb838a3a0
commit c796864ac9

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