diff --git a/leveldb.spec b/leveldb.spec index 9709b92..2be803b 100644 --- a/leveldb.spec +++ b/leveldb.spec @@ -1,7 +1,7 @@ %undefine __cmake_in_source_build Name: leveldb Version: 1.23 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A fast and lightweight key/value database library by Google License: BSD URL: https://github.com/google/leveldb @@ -17,6 +17,8 @@ Patch0002: 0002-Added-a-DB-SuspendCompations-and-DB-ResumeCompaction.patch Patch0003: 0003-allow-Get-calls-to-avoid-copies-into-std-string.patch # https://groups.google.com/d/topic/leveldb/SbVPvl4j4vU/discussion Patch0004: 0004-bloom_test-failure-on-big-endian-archs.patch +# -fno-rtti breaks ABI compatibility +Patch0006: 0006-revert-no-rtti.patch BuildRequires: cmake BuildRequires: gcc @@ -88,6 +90,9 @@ cp -a %{name}.pc %{buildroot}%{_libdir}/pkgconfig/ %changelog +* Thu Aug 05 2021 Björn Esser - 1.23-3 +- Apply patch droppping -fno-rtti properly + * Thu Aug 5 2021 Kefu Chai - 1.23-2 - drop -fno-rtti in CMAKE_CXX_FLAGS