Build with C++14 instead of C++11; gtest 1.13.0 requires it

This commit is contained in:
zhoupengcheng 2024-01-12 09:51:23 +08:00
parent a0e3209633
commit 2b6d20975f

View File

@ -1,6 +1,6 @@
Name: snappy Name: snappy
Version: 1.1.10 Version: 1.1.10
Release: 1 Release: 2
Summary: A fast compressor/decompressor Summary: A fast compressor/decompressor
License: BSD License: BSD
URL: https://github.com/google/snappy URL: https://github.com/google/snappy
@ -32,7 +32,7 @@ This package is the development files for snappy.
%autosetup -n %{name}-%{version} -p1 %autosetup -n %{name}-%{version} -p1
%build %build
%cmake -DSNAPPY_ENABLE_RTTI=ON %cmake -DSNAPPY_ENABLE_RTTI=ON -DCMAKE_CXX_STANDARD=14
%make_build %make_build
%install %install
@ -69,6 +69,9 @@ make test
%doc NEWS README.md %doc NEWS README.md
%changelog %changelog
* Fri Jan 12 2024 zhoupengcheng<zhoupengcheng11@huawei.com> -1.1.10-2
- Build with C++14 instead of C++11; gtest 1.13.0 requires it
* Mon Jul 3 2023 dillon chen<dillon.chen@gmail.com> -1.1.10-1 * Mon Jul 3 2023 dillon chen<dillon.chen@gmail.com> -1.1.10-1
- update version to 1.1.10 - update version to 1.1.10
- Removed patch1(inline.patch) as it's no longer required. - Removed patch1(inline.patch) as it's no longer required.