[packages/google-benchmark] - updated to 1.9.5
qboosh
qboosh at pld-linux.org
Sat Feb 28 22:46:43 CET 2026
commit a72eb7c339f709f697cc321e2f7cbfa0324c5d40
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Feb 28 22:46:41 2026 +0100
- updated to 1.9.5
google-benchmark.spec | 30 ++++++++++++++++++------------
1 file changed, 18 insertions(+), 12 deletions(-)
---
diff --git a/google-benchmark.spec b/google-benchmark.spec
index a9c8fef..131bb16 100644
--- a/google-benchmark.spec
+++ b/google-benchmark.spec
@@ -5,20 +5,20 @@
Summary: Library to benchmark code snippets
Summary(pl.UTF-8): Biblioteka do testowania wydajności fragmentów kodu
Name: google-benchmark
-Version: 1.8.3
+Version: 1.9.5
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: 7b93dd03670665684f1b2e9b70ad17fe
+# Source0-md5: 12c6c0c228fc07106c62634222bd2541
URL: https://github.com/google/benchmark
BuildRequires: cmake >= 3.16.3
BuildRequires: libstdc++-devel >= 6:4.8
%if %{with python}
BuildRequires: bazel
-BuildRequires: python3-modules >= 1:3.7
-BuildRequires: python3-pybind11
+BuildRequires: libstdc++-devel >= 6:7
+BuildRequires: python3-modules >= 1:3.10
BuildRequires: python3-setuptools
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.714
@@ -81,6 +81,11 @@ rm -rf $RPM_BUILD_ROOT
%py3_install
%endif
+# partially packaged as %doc
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/{*.md,*.yml,assets}
+# subpackage? needs some cleanup
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/googlebenchmark/tools
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -89,25 +94,26 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc AUTHORS CONTRIBUTORS README.md docs/{AssemblyTests.md,tools.md}
-%attr(755,root,root) %{_libdir}/libbenchmark.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libbenchmark.so.1
-%attr(755,root,root) %{_libdir}/libbenchmark_main.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libbenchmark_main.so.1
+%doc AUTHORS CONTRIBUTORS README.md docs/{AssemblyTests.md,perf_counters.md,random_interleaving.md,reducing_variance.md,tools.md,user_guide.md}
+%{_libdir}/libbenchmark.so.*.*.*
+%ghost %{_libdir}/libbenchmark.so.1
+%{_libdir}/libbenchmark_main.so.*.*.*
+%ghost %{_libdir}/libbenchmark_main.so.1
%files devel
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libbenchmark.so
-%attr(755,root,root) %{_libdir}/libbenchmark_main.so
+%{_libdir}/libbenchmark.so
+%{_libdir}/libbenchmark_main.so
%{_includedir}/benchmark
%{_pkgconfigdir}/benchmark.pc
+%{_pkgconfigdir}/benchmark_main.pc
%{_libdir}/cmake/benchmark
%if %{with python}
%files -n python3-benchmark
%defattr(644,root,root,755)
%dir %{py3_sitedir}/benchmark
-%attr(755,root,root) %{py3_sitedir}/benchmark/_benchmark.cpython-*.so
+%{py3_sitedir}/benchmark/_benchmark.cpython-*.so
%{py3_sitedir}/benchmark/__init__.py
%{py3_sitedir}/benchmark/__pycache__
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/google-benchmark.git/commitdiff/a72eb7c339f709f697cc321e2f7cbfa0324c5d40
More information about the pld-cvs-commit
mailing list