From d5c14814362bc3dcb7cd0e70cca472e7aed06ba9 Mon Sep 17 00:00:00 2001 From: Vitaly Zaitsev Date: Mon, 26 Apr 2021 19:33:45 +0200 Subject: [PATCH] Updated to version 1.5.3. --- .gitignore | 1 + google-benchmark-gcc11.patch | 12 ------------ google-benchmark.spec | 10 ++++++---- sources | 2 +- 4 files changed, 8 insertions(+), 17 deletions(-) delete mode 100644 google-benchmark-gcc11.patch diff --git a/.gitignore b/.gitignore index ef329e1..98a3fa8 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/google-benchmark-gcc11.patch b/google-benchmark-gcc11.patch deleted file mode 100644 index 117de2b..0000000 --- a/google-benchmark-gcc11.patch +++ /dev/null @@ -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 -+#include - - #include "check.h" - diff --git a/google-benchmark.spec b/google-benchmark.spec index 806197c..4a258da 100644 --- a/google-benchmark.spec +++ b/google-benchmark.spec @@ -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 - 1.5.3-1 +- Updated to version 1.5.3. + * Tue Jan 26 2021 Fedora Release Engineering - 1.5.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild diff --git a/sources b/sources index 616ea10..949c69f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (google-benchmark-1.5.2.tar.gz) = a071613f3af669296aa613e0e64726bdcf27cc3db331d8003f49164581cd6935a86641ec435118ea590a9d722a926d3fef740e938e1a5f6eba8e2a5a615da1b0 +SHA512 (google-benchmark-1.5.3.tar.gz) = 11f726686ad8b36870fc2a3542fad4c52a58df2eb580564dcfdfb154fe6ac00dbbf69c514395148d7ab11a45e40e869549cf971462c384f59cbae5fa60160e3b