Sync from SUSE:SLFO:Main leveldb revision 9b93d939a945a25736627a2c4358f9c5
This commit is contained in:
parent
9eafdb18fb
commit
1f3e0f6fe6
@ -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
|
Thu Jan 11 18:08:20 UTC 2024 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@ -80,11 +80,11 @@ This package holds the development files for statically linking leveldb.
|
|||||||
%build
|
%build
|
||||||
# unfortunately a two-pass build is needed for shared and static libs
|
# unfortunately a two-pass build is needed for shared and static libs
|
||||||
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
||||||
%cmake -DBUILD_SHARED_LIBS=ON
|
%cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_CXX_STANDARD=14
|
||||||
%cmake_build
|
%cmake_build
|
||||||
cd ..
|
cd ..
|
||||||
%define __builddir build_static
|
%define __builddir build_static
|
||||||
%cmake -DBUILD_SHARED_LIBS=OFF
|
%cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_CXX_STANDARD=14
|
||||||
%cmake_build
|
%cmake_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -103,7 +103,6 @@ cp -a build_static/db_bench %{buildroot}%{_bindir}
|
|||||||
# bsc#1218597
|
# bsc#1218597
|
||||||
exclude_regex='--exclude-regex autocompact_test'
|
exclude_regex='--exclude-regex autocompact_test'
|
||||||
%endif
|
%endif
|
||||||
eclude_regex='--exclude-regex "(autocompact_test|db_test)"'
|
|
||||||
%ctest $exclude_regex
|
%ctest $exclude_regex
|
||||||
|
|
||||||
%post -n %{lib_name} -p /sbin/ldconfig
|
%post -n %{lib_name} -p /sbin/ldconfig
|
||||||
|
Loading…
Reference in New Issue
Block a user