Updated to version 1.5.3.

This commit is contained in:
Vitaly Zaitsev 2021-04-26 19:33:45 +02:00
parent 88a5d1bef3
commit d5c1481436
No known key found for this signature in database
GPG Key ID: BF99FC6DD45AB90A
4 changed files with 8 additions and 17 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@
/google-benchmark-1.5.0.tar.gz
/google-benchmark-1.5.1.tar.gz
/google-benchmark-1.5.2.tar.gz
/google-benchmark-1.5.3.tar.gz

View File

@ -1,12 +0,0 @@
diff --git a/src/benchmark_register.h b/src/benchmark_register.h
index 61377d7..8f1bb77 100644
--- a/src/benchmark_register.h
+++ b/src/benchmark_register.h
@@ -2,6 +2,7 @@
#define BENCHMARK_REGISTER_H
#include <vector>
+#include <limits>
#include "check.h"

View File

@ -4,14 +4,13 @@
%global lbname lib%{intname}
Name: google-benchmark
Version: 1.5.2
Release: 3%{?dist}
Version: 1.5.3
Release: 1%{?dist}
License: ASL 2.0
Summary: A microbenchmark support library
URL: https://github.com/google/%{intname}
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
Patch0: google-benchmark-gcc11.patch
BuildRequires: gtest-devel
BuildRequires: gmock-devel
@ -33,13 +32,13 @@ Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
%prep
%autosetup -p1 -n %{intname}-%{version}
sed -e '/get_git_version/d' -i CMakeLists.txt
sed -e 's@/lib@/%{_lib}@g' -i cmake/benchmark.pc.in
%build
%cmake -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DGIT_VERSION=%{version} \
-DBENCHMARK_ENABLE_TESTING:BOOL=OFF \
-DBENCHMARK_ENABLE_GTEST_TESTS:BOOL=ON \
-DBENCHMARK_ENABLE_INSTALL:BOOL=ON \
-DBENCHMARK_DOWNLOAD_DEPENDENCIES:BOOL=OFF
%cmake_build
@ -62,6 +61,9 @@ sed -e 's@/lib@/%{_lib}@g' -i cmake/benchmark.pc.in
%{_libdir}/pkgconfig/%{intname}.pc
%changelog
* Mon Apr 26 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 1.5.3-1
- Updated to version 1.5.3.
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (google-benchmark-1.5.2.tar.gz) = a071613f3af669296aa613e0e64726bdcf27cc3db331d8003f49164581cd6935a86641ec435118ea590a9d722a926d3fef740e938e1a5f6eba8e2a5a615da1b0
SHA512 (google-benchmark-1.5.3.tar.gz) = 11f726686ad8b36870fc2a3542fad4c52a58df2eb580564dcfdfb154fe6ac00dbbf69c514395148d7ab11a45e40e869549cf971462c384f59cbae5fa60160e3b