From aadf8bd62aeb38bf3016a4afd36d2da9aba334bf6a9b546fcb7bf741c023626d Mon Sep 17 00:00:00 2001 From: Pedro Monreal Gonzalez Date: Mon, 2 Oct 2017 09:59:53 +0000 Subject: [PATCH] Accepting request 530368 from home:fstrba:branches:devel:libraries:c_c++ Fix build with jdk9 OBS-URL: https://build.opensuse.org/request/show/530368 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libdb-4_8?expand=0&rev=44 --- libdb-4_8.spec | 2 +- libdb_java-4_8.changes | 6 ++++++ libdb_java-4_8.spec | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/libdb-4_8.spec b/libdb-4_8.spec index 5a1f12f..9fb5706 100644 --- a/libdb-4_8.spec +++ b/libdb-4_8.spec @@ -1,7 +1,7 @@ # # spec file for package libdb-4_8 # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 diff --git a/libdb_java-4_8.changes b/libdb_java-4_8.changes index a15a4b1..9c5101b 100644 --- a/libdb_java-4_8.changes +++ b/libdb_java-4_8.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Oct 2 09:23:07 UTC 2017 - fstrba@suse.com + +- Specify java target and soure level 1.6 to allow building with + jdk9 + ------------------------------------------------------------------- Thu Mar 31 09:50:54 UTC 2016 - tchvatal@suse.com diff --git a/libdb_java-4_8.spec b/libdb_java-4_8.spec index 73c9a92..1b73ea6 100644 --- a/libdb_java-4_8.spec +++ b/libdb_java-4_8.spec @@ -1,7 +1,7 @@ # # spec file for package libdb_java-4_8 # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -82,7 +82,7 @@ cd ../build_nptl --libdir=%{_libdir} --enable-compat185 --disable-dump185 \ --enable-shared --disable-static --enable-cxx \ --with-mutex="POSIX/pthreads/library" \ - --enable-java JAVACFLAGS="-source 1.5 -target 1.5" \ + --enable-java JAVACFLAGS="-source 1.6 -target 1.6" \ %ifarch %arm %{_target_cpu}-suse-linux-gnueabi %else