diff --git a/libdb-4_8.spec b/libdb-4_8.spec index 1dea7d2..f22a40e 100644 --- a/libdb-4_8.spec +++ b/libdb-4_8.spec @@ -1,7 +1,7 @@ # # spec file for package libdb-4_8 # -# Copyright (c) 2021 SUSE LLC +# 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 @@ -205,9 +205,10 @@ done if [ "$1" -gt 0 ] && [ -f %{_sbindir}/update-alternatives ] ; then for i in %{util_list}; do update-alternatives --remove "db_$i" "%{_bindir}/db_$i" - done -fi + done +fi %else + %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 ba7e2f5..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) 2021 SUSE LLC +# 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