diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-10-19 09:11:32 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-10-19 09:11:32 +0000 |
| commit | 1cb512fd8af28c77bb756c93f5b22b9eaf0d0eec (patch) | |
| tree | 91971d5668501698225f9422dca7742f9de30c9f | |
| parent | 86be8650bb3fec134e1a5aa4e73e04aab35eb801 (diff) | |
automatic import of glog
| -rw-r--r-- | glog.spec | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -4,7 +4,7 @@ Name: glog Version: 0.7.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Google Logging Library (glog) License: BSD-3-Clause @@ -22,9 +22,10 @@ BuildRequires: make # option(WITH_GFLAGS "Use gflags" ON) -> find_package(gflags 2.2.2) # option(WITH_GTEST "Use Google Test" ON) -> find_package(GTest) # find_package(Unwind) -> 由 glog 自带 FindUnwind.cmake 定位 libunwind -# openEuler 官方源已提供:gflags-devel 2.2.2 / gtest-devel 1.14.0 / libunwind-devel 1.7.2 +# openEuler 官方源已提供:gflags-devel 2.2.2 / gtest-devel 1.14.0 / gmock-devel 1.14.0 / libunwind-devel 1.7.2 BuildRequires: gflags-devel >= 2.2.2 BuildRequires: gtest-devel +BuildRequires: gmock-devel BuildRequires: libunwind-devel %description @@ -104,6 +105,13 @@ ctest %{?_smp_mflags} %{_datadir}/glog/ %changelog +* Mon Oct 19 2026 openEuler Builder <builder@openeuler.org> - 0.7.1-4 +- Add BuildRequires: gmock-devel to fix missing gmock/gmock.h header in + logging_unittest.cc during %%build (build_id=113744). glog's test targets + include <gmock/gmock.h> when WITH_GTEST=ON; gtest-devel only provides + gtest/gtest.h, gmock/gmock.h comes from the separate gmock-devel subpackage + (both 1.14.0, same source in openEuler official repo). + * Mon Oct 19 2026 openEuler Builder <builder@openeuler.org> - 0.7.1-3 - Escape %%-prefixed macro names in %%build section comments (%%cmake, %%cmake_build, %%_vpath_builddir, %%_target_platform, %%build, %%check, |
