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
This commit is contained in:
Pedro Monreal Gonzalez 2017-10-02 09:59:53 +00:00 committed by Git OBS Bridge
parent 7a98e64ffe
commit aadf8bd62a
3 changed files with 9 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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