Fridrich Strba 2021-07-29 16:24:51 +00:00 committed by Git OBS Bridge
parent 859c070397
commit 9e75f27405
2 changed files with 3 additions and 10 deletions

View File

@ -1,10 +1,10 @@
<constraints>
<hardware>
<physicalmemory>
<size unit="G">3</size>
<size unit="G">4</size>
</physicalmemory>
<disk>
<size unit="G">3</size>
<size unit="G">4</size>
</disk>
</hardware>
</constraints>

View File

@ -66,7 +66,6 @@ BuildRequires: ant-junit
BuildRequires: aqute-bnd
BuildRequires: graphviz
BuildRequires: java-devel >= 1.7
BuildConflicts: java-devel >= 9 java-headless >= 9 java >= 9
BuildRequires: javapackages-local
BuildRequires: jline >= 2.10
BuildRequires: junit
@ -191,13 +190,7 @@ chmod 755 tools/get-scala-*
%build
ANT_OPTS="-Xms2048m -Xmx2048m %{do_bootstrap}"
export ANT_OPTS
# Add the -verbose flag to scalac on zero architectures. The build
# is slow, OBS thinks it is stuck and kills it before it has chance
# to finish
%ant \
%ant %{do_bootstrap} \
build %{docs_target} || exit 1
pushd build/pack/lib
mv scala-library.jar scala-library.jar.no