!19 Build with C++14 instead of C++11; gtest 1.13.0 requires it
From: @zhoupengcheng11 Reviewed-by: @lvying6 Signed-off-by: @lvying6
This commit is contained in:
commit
4a7a60b2fd
@ -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<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
|
||||
- update version to 1.1.10
|
||||
- Removed patch1(inline.patch) as it's no longer required.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user