diff --git a/geronimo-specs.changes b/geronimo-specs.changes index 241cb4e..50c4e9d 100644 --- a/geronimo-specs.changes +++ b/geronimo-specs.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu May 17 07:58:39 UTC 2018 - fstrba@suse.com + +- Build with source and target 8 to prepare for a possible removal + of 1.6 compatibility in OpenJDK 11 + ------------------------------------------------------------------- Fri Sep 8 07:54:40 UTC 2017 - fstrba@suse.com diff --git a/geronimo-specs.spec b/geronimo-specs.spec index 1e2db8a..b2ba8b9 100644 --- a/geronimo-specs.spec +++ b/geronimo-specs.spec @@ -1,7 +1,7 @@ # # spec file for package geronimo-specs # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -116,7 +116,7 @@ Patch4: geronimo-specs-j2ee-1.4-pom_xml.patch Patch5: geronimo-specs-corba-2.3-pom_xml.patch BuildRequires: ant BuildRequires: fdupes -BuildRequires: java-devel >= 1.6.0 +BuildRequires: java-devel >= 1.8 BuildRequires: javapackages-local BuildRequires: javapackages-tools BuildRequires: junit >= 3.8.1 @@ -807,7 +807,7 @@ ln -s %{_javadir} external_repo/JPP cp %{SOURCE1000} build.xml %build -ant -Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6 \ +ant -Dant.build.javac.source=8 -Dant.build.javac.target=8 \ -Didlj=%{java_home}/bin/idlj %install