Accepting request 969768 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/969768
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdb-4_8?expand=0&rev=32
This commit is contained in:
Dominique Leuenberger 2022-04-17 21:49:36 +00:00 committed by Git OBS Bridge
commit 40c2210b8a
3 changed files with 11 additions and 4 deletions

View File

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Apr 8 12:39:20 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- Build with java source and target levels 8
* fixes build in Factory
-------------------------------------------------------------------
Mon Aug 19 06:59:04 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

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