From b51bbe31d874f2a2323ddca62eb02f22a6033b1df58177bac7ae9e3237e1d468 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 15 May 2018 14:02:09 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/axis?expand=0&rev=30 --- axis.changes | 6 ++++++ axis.spec | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/axis.changes b/axis.changes index 268b139..9024dab 100644 --- a/axis.changes +++ b/axis.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue May 15 14:01:35 UTC 2018 - fstrba@suse.com + +- Build with source and target 8 to prepare for a possible removal + of 1.6 compatibility in OpenJDK 11 + ------------------------------------------------------------------- Thu Oct 5 05:54:20 UTC 2017 - fstrba@suse.com diff --git a/axis.spec b/axis.spec index b375fd0..3b5aa8b 100644 --- a/axis.spec +++ b/axis.spec @@ -1,7 +1,7 @@ # # spec file for package axis # -# 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 @@ -55,7 +55,7 @@ BuildRequires: apache-commons-logging BuildRequires: classpathx-mail BuildRequires: gnu-jaf BuildRequires: jakarta-commons-discovery -BuildRequires: java-devel >= 1.6 +BuildRequires: java-devel >= 1.8 BuildRequires: javapackages-local BuildRequires: javapackages-tools BuildRequires: junit @@ -125,8 +125,8 @@ ant -Dcompile.ime=true \ -Djunit.jar=$(build-classpath junit 2>/dev/null) \ -Djimi.jar=$(build-classpath jimi 2>/dev/null) \ -Djsse.jar=$(build-classpath jsse/jsse 2>/dev/null) \ - -Dant.build.javac.source=1.6 -Dsource=1.6 \ - -Dant.build.javac.target=1.6 -Dtarget=1.6 \ + -Dant.build.javac.source=8 -Dsource=8 \ + -Dant.build.javac.target=8 -Dtarget=8 \ clean compile %install