Accepting request 1008415 from home:dirkmueller:Factory

- update to 1.12.1:
  * Support for move-only values to Return
  * New matchers: WhenBase64Unescaped
  * ResultOf() now has a 3-arg overload that takes a description string for better
    error messages
  * CMake minimum increased to 3.5

OBS-URL: https://build.opensuse.org/request/show/1008415
OBS-URL: https://build.opensuse.org/package/show/M17N/googletest?expand=0&rev=33
This commit is contained in:
Hillwood Yang 2022-10-08 14:35:57 +00:00 committed by Git OBS Bridge
parent d0163eb84f
commit c68f41de19
4 changed files with 17 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b4870bf121ff7795ba20d20bcdd8627b8e088f2d1dab299a031c1034eddc93d5
size 886330

BIN
googletest-release-1.12.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Oct 6 13:58:58 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 1.12.1:
* Support for move-only values to Return
* New matchers: WhenBase64Unescaped
* ResultOf() now has a 3-arg overload that takes a description string for better
error messages
* CMake minimum increased to 3.5
-------------------------------------------------------------------
Fri Apr 8 11:34:37 UTC 2022 - Martin Liška <mliska@suse.cz>

View File

@ -24,7 +24,7 @@
%define _name googlemock
Name: googletest
Version: 1.11.0
Version: 1.12.1
Release: 0
Summary: Google C++ Testing Framework
License: BSD-3-Clause
@ -32,7 +32,7 @@ Group: Development/Libraries/C and C++
URL: https://github.com/google/googletest
Source0: https://github.com/google/googletest/archive/release-%{version}.tar.gz#/%{name}-release-%{version}.tar.gz
Source1: googletest-rpmlintrc
BuildRequires: cmake >= 2.6.4
BuildRequires: cmake >= 3.5.0
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: python3
@ -99,7 +99,8 @@ mkdir -p %{buildroot}%{_includedir}/gtest/src && install -m 0644 googletest/src/
%check
%if %{with tests}
%ctest
# googletest-port-test is checking the threadcount which is incorrect under user mode emulation
%ctest -- %{?qemu_user_space_build: -E googletest-port-test}
%endif
%post -n gtest -p /sbin/ldconfig