diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..31ad56a --- /dev/null +++ b/baselibs.conf @@ -0,0 +1 @@ +libleveldb1 diff --git a/leveldb.changes b/leveldb.changes index 9df01c1..43ab695 100644 --- a/leveldb.changes +++ b/leveldb.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 8 12:47:35 UTC 2023 - Martin Pluskal + +- Build AVX2 enabled hwcaps library for x86_64-v3 + ------------------------------------------------------------------- Wed Jun 9 12:08:18 UTC 2021 - Ferdinand Thiessen diff --git a/leveldb.spec b/leveldb.spec index a5d26d2..cf7abb5 100644 --- a/leveldb.spec +++ b/leveldb.spec @@ -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.