diff --git a/libdb-4_8.spec b/libdb-4_8.spec index 9c1e026..9725d6d 100644 --- a/libdb-4_8.spec +++ b/libdb-4_8.spec @@ -1,7 +1,7 @@ # # spec file for package libdb-4_8 # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -178,6 +178,7 @@ done %post -p /sbin/ldconfig %postun -p /sbin/ldconfig + %post -n db48-utils for i in %{util_list}; do update-alternatives --install "%{_bindir}/db_$i" \ diff --git a/libdb_java-4_8.changes b/libdb_java-4_8.changes index c063890..1c49a42 100644 --- a/libdb_java-4_8.changes +++ b/libdb_java-4_8.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Apr 8 12:39:20 UTC 2022 - Fridrich Strba + +- Build with java source and target levels 8 + * fixes build in Factory + ------------------------------------------------------------------- Mon Aug 19 06:59:04 UTC 2019 - Tomáš Chvátal diff --git a/libdb_java-4_8.spec b/libdb_java-4_8.spec index 8e7426a..5475cc6 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) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -35,7 +35,7 @@ Patch1: libdb_java-4_8-fix-java10-comp.patch Patch2: libdb-fix-atomic.patch BuildRequires: autoconf BuildRequires: gcc-c++ -BuildRequires: java-sdk >= 1.5 +BuildRequires: java-sdk >= 1.8 BuildRequires: unzip Requires: libdb-%{major}_%{minor} = %{version} Conflicts: libdb_java-4_5 @@ -87,7 +87,7 @@ cd ../build_nptl --enable-shared --disable-static \ --enable-cxx \ --with-mutex="POSIX/pthreads/library" \ - --enable-java JAVACFLAGS="-source 1.6 -target 1.6" \ + --enable-java JAVACFLAGS="-source 1.8 -target 1.8" \ %ifarch %{arm} %{_target_cpu}-suse-linux-gnueabi %else