Sync from SUSE:SLFO:Main leveldb revision 9b93d939a945a25736627a2c4358f9c5

This commit is contained in:
Adrian Schröter 2024-09-30 10:42:37 +02:00
parent 9eafdb18fb
commit 1f3e0f6fe6
2 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Mar 25 05:43:50 UTC 2024 - David Disseldorp <ddiss@suse.de>
- Use C++14 to satisfy GTest's new minimum version requirement
[bsc#1221870]
-------------------------------------------------------------------
Mon Jan 22 09:31:24 UTC 2024 - pgajdos@suse.com
- remove faulty and noop assignment
-------------------------------------------------------------------
Thu Jan 11 18:08:20 UTC 2024 - pgajdos@suse.com

View File

@ -80,11 +80,11 @@ This package holds the development files for statically linking leveldb.
%build
# unfortunately a two-pass build is needed for shared and static libs
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
%cmake -DBUILD_SHARED_LIBS=ON
%cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_CXX_STANDARD=14
%cmake_build
cd ..
%define __builddir build_static
%cmake -DBUILD_SHARED_LIBS=OFF
%cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_CXX_STANDARD=14
%cmake_build
%install
@ -103,7 +103,6 @@ cp -a build_static/db_bench %{buildroot}%{_bindir}
# bsc#1218597
exclude_regex='--exclude-regex autocompact_test'
%endif
eclude_regex='--exclude-regex "(autocompact_test|db_test)"'
%ctest $exclude_regex
%post -n %{lib_name} -p /sbin/ldconfig