Accepting request 1070187 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/1070187
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/leveldb?expand=0&rev=14
This commit is contained in:
Dominique Leuenberger 2023-03-09 16:44:55 +00:00 committed by Git OBS Bridge
commit df5b5e54ea
3 changed files with 10 additions and 1 deletions

1
baselibs.conf Normal file
View File

@ -0,0 +1 @@
libleveldb1

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Mar 8 12:47:35 UTC 2023 - Martin Pluskal <mpluskal@suse.com>
- Build AVX2 enabled hwcaps library for x86_64-v3
-------------------------------------------------------------------
Wed Jun 9 12:08:18 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package leveldb
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -24,16 +24,19 @@ License: BSD-3-Clause
Group: Development/Libraries/C and C++
URL: https://github.com/google/leveldb
Source0: %{url}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source99: baselibs.conf
# PATCH-FEATURE-OPENSUSE detect-system-gtest.patch -- https://github.com/google/leveldb/pull/912
Patch0: detect-system-gtest.patch
# PATCH-FIX-OPENSUSE enable-rtti.patch -- Enable rtti support again, needed for ceph
Patch1: enable-rtti.patch
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: snappy-devel
BuildRequires: cmake(GTest)
BuildRequires: cmake(benchmark)
BuildRequires: pkgconfig(sqlite3)
%{?suse_build_hwcaps_libs}
%description
leveldb implements a system for maintaining a persistent key/value store.