Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3c28c39ce8 | ||
|
|
c51431d326 | ||
|
|
8477977b57 | ||
|
|
231f2e75c6 |
Binary file not shown.
+9
-3
@@ -1,11 +1,12 @@
|
||||
Name: gtest
|
||||
Version: 1.15.2
|
||||
Version: 1.17.0
|
||||
Release: 1
|
||||
Summary: Google C++ testing framework
|
||||
License: BSD-3-Clause and Apache-2.0
|
||||
URL: https://github.com/google/googletest
|
||||
Source0: https://github.com/google/googletest/archive/refs/tags/v%{version}.tar.gz
|
||||
Source0: https://github.com/google/googletest/releases/download/v%{version}/googletest-%{version}.tar.gz
|
||||
BuildRequires: gcc-c++ cmake python3-devel
|
||||
|
||||
%description
|
||||
This package is Google C++ testing framework,It can be compiled for
|
||||
a variety of platforms.Google Test is a unit testing library for
|
||||
@@ -36,7 +37,6 @@ The package is libraries and head files for google mocking framework.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n googletest-%{version}
|
||||
sed -e "s/set(GOOGLETEST_VERSION .*)/set(GOOGLETEST_VERSION %{version})/" -i CMakeLists.txt
|
||||
|
||||
%build
|
||||
%cmake -DBUILD_SHARED_LIBS=ON -DPYTHON_EXECUTABLE=%{__python3} -Dgtest_build_tests=ON
|
||||
@@ -72,6 +72,12 @@ sed -e "s/set(GOOGLETEST_VERSION .*)/set(GOOGLETEST_VERSION %{version})/" -i CMa
|
||||
%{_libdir}/pkgconfig/gmock*
|
||||
|
||||
%changelog
|
||||
* Mon May 12 2025 Funda Wang <fundawang@yeah.net> - 1.17.0-1
|
||||
- update to 1.17.0
|
||||
|
||||
* Mon Mar 10 2025 Funda Wang <fundawang@yeah.net> - 1.16.0-1
|
||||
- update to 1.16.0
|
||||
|
||||
* Thu Jan 16 2025 yaoxin <1024769339@qq.com> - 1.15.2-1
|
||||
- Update to 1.15.2:
|
||||
* GoogleTest requires at least C++14 and follows Google's Foundational C++ Support Policy.
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user