diff --git a/1.1.10.tar.gz b/1.1.10.tar.gz new file mode 100644 index 0000000..165b3c3 --- /dev/null +++ b/1.1.10.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:49d831bffcc5f3d01482340fe5af59852ca2fe76c3e05df0e67203ebbe0f1d90 +size 1105312 diff --git a/1.1.9.tar.gz b/1.1.9.tar.gz deleted file mode 100644 index 1105036..0000000 --- a/1.1.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:75c1fbb3d618dd3a0483bff0e26d0a92b495bbe5059c8b4f1c962b478b6e06e7 -size 1102382 diff --git a/fix-always-inline.patch b/fix-always-inline.patch deleted file mode 100644 index 43c3606..0000000 --- a/fix-always-inline.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 0c716d435abe65250100c2caea0e5126ac4e14bd Mon Sep 17 00:00:00 2001 -From: "Georgi D. Sotirov" -Date: Wed, 5 May 2021 14:16:46 +0300 -Subject: [PATCH] Add inline with SNAPPY_ATTRIBUTE_ALWAYS_INLINE -Upstream: https://github.com/google/snappy/pull/128 - -Add inline with SNAPPY_ATTRIBUTE_ALWAYS_INLINE on AdvanceToNextTag to -fix compilation errors and a warning with GCC. - -Just like with other functions using SNAPPY_ATTRIBUTE_ALWAYS_INLINE -macro (i.e. __attribute__((always_inline)) ) it is necessary to use C++ -inline specifier. ---- - snappy.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/snappy.cc b/snappy.cc -index 79dc0e8d..51157be2 100644 ---- a/snappy.cc -+++ b/snappy.cc -@@ -1014,7 +1014,7 @@ void MemMove(ptrdiff_t dst, const void* src, size_t size) { - } - - SNAPPY_ATTRIBUTE_ALWAYS_INLINE --size_t AdvanceToNextTag(const uint8_t** ip_p, size_t* tag) { -+inline size_t AdvanceToNextTag(const uint8_t** ip_p, size_t* tag) { - const uint8_t*& ip = *ip_p; - // This section is crucial for the throughput of the decompression loop. - // The latency of an iteration is fundamentally constrained by the diff --git a/snappy.changes b/snappy.changes index 69132d5..e188866 100644 --- a/snappy.changes +++ b/snappy.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Mon Mar 25 11:34:39 UTC 2024 - Danilo Spinella + +- Fix build with GTest 1.14.0 by using C++14, bsc#1221872 + +------------------------------------------------------------------- +Fri Nov 10 13:54:10 UTC 2023 - Dirk Müller + +- update to 1.1.10: + * Performance improvements + * Compilation fixes for various environments +- drop fix-always-inline.patch (obsolete) + ------------------------------------------------------------------- Wed Oct 27 06:25:52 UTC 2021 - Tim Serong @@ -72,7 +85,7 @@ Wed Jul 29 09:58:16 UTC 2015 - dimstar@opensuse.org Thu Sep 11 09:34:36 UTC 2014 - toddrme2178@gmail.com - Update to version 1.1.2 - - This is a maintenance release with no changes to the actual + - This is a maintenance release with no changes to the actual library source code. * Stop distributing benchmark data files that have unclear or unsuitable licensing. diff --git a/snappy.spec b/snappy.spec index da82b39..1cf315a 100644 --- a/snappy.spec +++ b/snappy.spec @@ -1,7 +1,7 @@ # # spec file for package snappy # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %define libname libsnappy1 Name: snappy -Version: 1.1.9 +Version: 1.1.10 Release: 0 Summary: A compressor/decompressor library favoring time License: BSD-3-Clause @@ -28,7 +28,6 @@ Source0: https://github.com/google/snappy/archive/%{version}.tar.gz Source1: snappy.pc Source99: baselibs.conf Patch0: use-system-test-libs.patch -Patch1: fix-always-inline.patch Patch2: reenable-rtti.patch BuildRequires: cmake BuildRequires: gcc-c++ @@ -75,7 +74,7 @@ This package holds the development files for snappy. %autosetup %build -%cmake -DSNAPPY_USE_BUNDLED_GTEST=OFF -DSNAPPY_USE_BUNDLED_BENCHMARK_LIB=OFF +%cmake -DSNAPPY_USE_BUNDLED_GTEST=OFF -DSNAPPY_USE_BUNDLED_BENCHMARK_LIB=OFF -DCMAKE_CXX_STANDARD=14 %make_build %install