From 56864538dced3f1c3114b59c5d1d3528cb41c38613dec80920d13e44e3181e76 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Sun, 10 Sep 2017 06:42:46 +0000 Subject: [PATCH] Fix build on systems when jdk9 is default java OBS-URL: https://build.opensuse.org/package/show/Java:packages/axis?expand=0&rev=23 --- axis.changes | 6 ++++++ axis.spec | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/axis.changes b/axis.changes index 050cb02..9026cc6 100644 --- a/axis.changes +++ b/axis.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Sep 10 06:41:34 UTC 2017 - fstrba@suse.com + +- Requires for build java-devel = 1.8.0 since it is the last + version able to build with source and target levels 1.3 + ------------------------------------------------------------------- Fri May 19 08:54:25 UTC 2017 - tchvatal@suse.com diff --git a/axis.spec b/axis.spec index b1abf6c..a17a6bd 100644 --- a/axis.spec +++ b/axis.spec @@ -54,7 +54,8 @@ BuildRequires: classpath BuildRequires: classpathx-mail BuildRequires: gnu-jaf BuildRequires: jakarta-commons-discovery -BuildRequires: java-devel +# JDK8 is the last one that is able to build with source and target levels 1.3 +BuildRequires: java-devel = 1.8.0 BuildRequires: javapackages-local BuildRequires: javapackages-tools BuildRequires: junit