From 2b6d20975f68275bfb47bcc6efdeb87f5b45fd8a Mon Sep 17 00:00:00 2001 From: zhoupengcheng Date: Fri, 12 Jan 2024 09:51:23 +0800 Subject: [PATCH] Build with C++14 instead of C++11; gtest 1.13.0 requires it --- snappy.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/snappy.spec b/snappy.spec index 2660c3c..b45de6a 100644 --- a/snappy.spec +++ b/snappy.spec @@ -1,6 +1,6 @@ Name: snappy Version: 1.1.10 -Release: 1 +Release: 2 Summary: A fast compressor/decompressor License: BSD URL: https://github.com/google/snappy @@ -32,7 +32,7 @@ This package is the development files for snappy. %autosetup -n %{name}-%{version} -p1 %build -%cmake -DSNAPPY_ENABLE_RTTI=ON +%cmake -DSNAPPY_ENABLE_RTTI=ON -DCMAKE_CXX_STANDARD=14 %make_build %install @@ -69,6 +69,9 @@ make test %doc NEWS README.md %changelog +* Fri Jan 12 2024 zhoupengcheng -1.1.10-2 +- Build with C++14 instead of C++11; gtest 1.13.0 requires it + * Mon Jul 3 2023 dillon chen -1.1.10-1 - update version to 1.1.10 - Removed patch1(inline.patch) as it's no longer required. -- Gitee