Compare commits

..
Author SHA1 Message Date
openeuler-ci-bot 3c28c39ce8 !24 update to version 1.17.0
From: @fundawang 
Reviewed-by: @wk333 
Signed-off-by: @wk333
2025-05-12 01:13:46 +00:00
Funda Wang c51431d326 1.17.0 2025-05-12 00:37:22 +08:00
openeuler-ci-bot 8477977b57 !22 update to version 1.16.0
From: @fundawang 
Reviewed-by: @Charlie_li 
Signed-off-by: @Charlie_li
2025-03-20 06:13:13 +00:00
Funda Wang 231f2e75c6 1.16.0 2025-03-10 12:40:51 +08:00
openeuler-ci-bot f51f77e1a9 !21 Update to 1.15.2
From: @starlet-dx 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
2025-01-16 09:10:00 +00:00
starlet-dx 435883ff61 Update to 1.15.2 2025-01-16 14:48:28 +08:00
4 changed files with 23 additions and 11 deletions
Binary file not shown.
+21 -9
View File
@@ -1,11 +1,12 @@
Name: gtest
Version: 1.14.0
Release: 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,18 +37,16 @@ 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
mkdir build && cd build
%cmake -DBUILD_SHARED_LIBS=ON -DPYTHON_EXECUTABLE=%{__python3} -Dgtest_build_tests=ON -S.. -B.
%make_build
%cmake -DBUILD_SHARED_LIBS=ON -DPYTHON_EXECUTABLE=%{__python3} -Dgtest_build_tests=ON
%cmake_build
%install
%make_install -C build
%cmake_install
%check
%make_build test -C build
%ctest
%files
%license LICENSE
@@ -73,6 +72,19 @@ mkdir build && cd build
%{_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.
* C++ Language Support
* Bzlmod is now officially supported
* Many bug fixes
* Thu Jul 11 2024 Funda Wang <fundawang@yeah.net> - 1.14.0-2
- cmake modules in gtest-devel needs libgmock.so.*
+2 -2
View File
@@ -1,4 +1,4 @@
version_control: github
src_repo: google/googletest
tag_prefix: release-
seperator: .
tag_prefix: ^v
separator: .
BIN
View File
Binary file not shown.