Hello community, here is the log from the commit of package zinc for openSUSE:Factory checked in at 2019-12-03 12:41:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/zinc (Old) and /work/SRC/openSUSE:Factory/.zinc.new.4691 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "zinc" Tue Dec 3 12:41:18 2019 rev:2 rq:752809 version:0.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/zinc/zinc.changes 2019-11-18 20:08:31.097649291 +0100 +++ /work/SRC/openSUSE:Factory/.zinc.new.4691/zinc.changes 2019-12-03 12:41:54.742140574 +0100 @@ -1,0 +2,5 @@ +Mon Dec 2 07:38:50 UTC 2019 - Fridrich Strba <[email protected]> + +- Require scala >= 2.10.7 for build: fixes build with jdk11 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ zinc.spec ++++++ --- /var/tmp/diff_new_pack.WoUZmp/_old 2019-12-03 12:41:55.198140448 +0100 +++ /var/tmp/diff_new_pack.WoUZmp/_new 2019-12-03 12:41:55.198140448 +0100 @@ -1,7 +1,7 @@ # # spec file for package zinc # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -33,9 +33,8 @@ BuildRequires: xmvn-install BuildRequires: xmvn-resolve BuildRequires: mvn(com.martiansoftware:nailgun-server) -BuildRequires: mvn(org.scala-lang:scala-library) +BuildRequires: mvn(org.scala-lang:scala-library) >= 2.10.7 BuildRequires: mvn(org.scala-sbt:incremental-compiler) -BuildConflicts: java-devel >= 9 #!BuildRequires: sbt BuildArch: noarch @@ -55,7 +54,11 @@ %pom_change_dep :incremental-compiler org.scala-sbt: %build -scalac -cp $(build-classpath sbt nailgun) src/main/scala/com/typesafe/zinc/* +scalac \ +%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0} + -nobootcp \ +%endif + -cp $(build-classpath sbt nailgun) src/main/scala/com/typesafe/zinc/* jar cf zinc.jar com %{mvn_artifact} pom.xml zinc.jar
