From 9e7384062827bb9b29eb6f736258545443fc11d46a2db90a04ca2c6617e17b34 Mon Sep 17 00:00:00 2001 From: David Disseldorp Date: Wed, 8 Mar 2023 13:22:34 +0000 Subject: [PATCH] Accepting request 1070180 from home:pluskalm:branches:devel:libraries:c_c++ - Build AVX2 enabled hwcaps library for x86_64-v3 OBS-URL: https://build.opensuse.org/request/show/1070180 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/leveldb?expand=0&rev=31 --- baselibs.conf | 1 + leveldb.changes | 5 +++++ leveldb.spec | 5 ++++- 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 baselibs.conf 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.