diff --git a/geronimo-specs.changes b/geronimo-specs.changes index 241cb4e..5a5fb90 100644 --- a/geronimo-specs.changes +++ b/geronimo-specs.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Mon Jul 16 09:49:33 UTC 2018 - fstrba@suse.com + +- BuildConflict with java-devel >= 11, since the build uses tools + and APIs removed in jdk11 + +------------------------------------------------------------------- +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 + ------------------------------------------------------------------- Fri Sep 8 07:54:40 UTC 2017 - fstrba@suse.com diff --git a/geronimo-specs.spec b/geronimo-specs.spec index 1e2db8a..5eb2fb7 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 @@ -57,7 +57,7 @@ Release: 0 Summary: Geronimo J2EE server J2EE specifications License: Apache-2.0 Group: Development/Languages/Java -Url: http://geronimo.apache.org +URL: http://geronimo.apache.org Source0: %{name}-%{version}-src.tar.bz2 # STEPS TO CREATE THE SOURCE FILE # mkdir geronimo-specs-1.2 @@ -116,10 +116,11 @@ 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 +BuildConflicts: java-devel >= 11 # The main package has links to all specs, so it requires all subpackages # except j2ee-schema (not linked) and javadocs Requires: geronimo-annotation-1_0-api = %{version} @@ -158,7 +159,6 @@ Requires: geronimo-servlet-2_5-api = %{version} Requires: geronimo-stax-1_0-api = %{version} Requires: geronimo-ws-metadata-2_0-api = %{version} Obsoletes: geronimo-javadoc -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description @@ -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