]> git.pld-linux.org Git - packages/google-benchmark.git/commitdiff
- updated to 1.7.1 auto/th/google-benchmark-1.7.1-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 5 Mar 2023 15:52:40 +0000 (16:52 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 5 Mar 2023 15:52:40 +0000 (16:52 +0100)
google-benchmark.spec

index 115ab7e9947f5daa7d6660f417fd10f51bd84358..f6c18bbf85da75e28ab37c1f07a670256b1c0a02 100644 (file)
@@ -5,20 +5,19 @@
 Summary:       Library to benchmark code snippets
 Summary(pl.UTF-8):     Biblioteka do testowania wydajności fragmentów kodu
 Name:          google-benchmark
-Version:       1.6.1
+Version:       1.7.1
 Release:       1
 License:       Apache v2.0
 Group:         Libraries
 #Source0Download: https://github.com/google/benchmark/releases
 Source0:       https://github.com/google/benchmark/archive/v%{version}/benchmark-%{version}.tar.gz
-# Source0-md5: 8c33c51f9b7154e6c290df3750081c87
-#Patch0:       %{name}-what.patch
+# Source0-md5: 0459a6c530df9851bee6504c3e37c2e7
 URL:           https://github.com/google/benchmark
-BuildRequires: cmake >= 3.5.1
+BuildRequires: cmake >= 3.16.3
 BuildRequires: libstdc++-devel >= 6:4.8
 %if %{with python}
 BuildRequires: bazel
-BuildRequires: python3-modules >= 1:3.6
+BuildRequires: python3-modules >= 1:3.7
 BuildRequires: python3-pybind11
 BuildRequires: python3-setuptools
 BuildRequires: rpm-pythonprov
@@ -61,15 +60,12 @@ Wiązanie Pythona do biblioteki Google Benchmark.
 %setup -q -n benchmark-%{version}
 
 %build
-install -d build
-cd build
-%cmake .. \
+%cmake -B build \
        -DBENCHMARK_ENABLE_ASSEMBLY_TESTS=OFF \
        -DBENCHMARK_ENABLE_LTO=ON \
        -DBENCHMARK_ENABLE_TESTING=OFF
 
-%{__make}
-cd ..
+%{__make} -C build
 
 %if %{with python}
 %py3_build
This page took 0.117769 seconds and 4 git commands to generate.