From d54a43d99b8cd1f3ede2b24fc1a841f494eef847 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Mon, 30 Jan 2023 20:13:12 -0500 Subject: [PATCH] Build with C++14 instead of C++11; gtest 1.13.0 requires it --- snappy.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/snappy.spec b/snappy.spec index 7576319..d5eb23a 100644 --- a/snappy.spec +++ b/snappy.spec @@ -1,7 +1,7 @@ %global __cmake_in_source_build 1 Name: snappy Version: 1.1.9 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Fast compression and decompression library License: BSD @@ -48,7 +48,8 @@ developing applications that use %{name}. %build -%cmake . +# gtest 1.13.0 requires C++14 or later +%cmake -DCMAKE_CXX_STANDARD=14 . %make_build # create pkgconfig file @@ -95,6 +96,9 @@ ctest -V %{?_smp_mflags} %changelog +* Tue Jan 31 2023 Benjamin A. Beasley - 1.1.9-7 +- Build with C++14 instead of C++11; gtest 1.13.0 requires it + * Sat Jan 21 2023 Fedora Release Engineering - 1.1.9-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild