Compare commits

..
Author SHA1 Message Date
openeuler-ci-bot 6cab82fbe8 !23 update to 1.14.0
From: @xinghe_1 
Reviewed-by: @Lostwayzxc 
Signed-off-by: @Lostwayzxc
2025-04-08 07:24:00 +00:00
xh 14506f4b29 update to 1.14.0 2025-04-07 08:32:18 +00:00
openeuler-ci-bot 699b122ec9 !13 cmake modules in gtest-devel needs libgmock.so.*
From: @fundawang 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
2024-07-12 02:40:56 +00:00
Funda Wang 9d7f23dba3 cmake modules in gtest-devel needs libgmock.so.* 2024-07-11 21:00:23 +08:00
openeuler-ci-bot 2b1c58c01d !8 Internal Change
From: @xing_xing1992 
Reviewed-by: @Charlie_li 
Signed-off-by: @Charlie_li
2023-01-18 09:27:20 +00:00
xing_xing1992 3741243bbd Internal Change 2023-01-18 14:31:39 +08:00
4 changed files with 15 additions and 27 deletions
Binary file not shown.
+13 -25
View File
@@ -1,12 +1,11 @@
Name: gtest
Version: 1.17.0
Version: 1.14.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/releases/download/v%{version}/googletest-%{version}.tar.gz
Source0: https://github.com/google/googletest/archive/refs/tags/v%{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
@@ -37,16 +36,18 @@ 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
%cmake_build
mkdir build && cd build
%cmake -DBUILD_SHARED_LIBS=ON -DPYTHON_EXECUTABLE=%{__python3} -Dgtest_build_tests=ON -S.. -B.
%make_build
%install
%cmake_install
%make_install -C build
%check
%ctest
%make_build test -C build
%files
%license LICENSE
@@ -72,26 +73,13 @@ The package is libraries and head files for google mocking framework.
%{_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.*
* Fri Aug 25 2023 wangkai <13474090681@163.com> - 1.14.0-1
* Mon Apr 07 2025 xinghe <xinghe2@h-partners.com> - 1.14.0-1
- Update to 1.14.0
* Sat Jan 07 2023 xingxing<xingxing@xfusion.com> - 1.8.1-4
* Thu Jul 11 2024 Funda Wang <fundawang@yeah.net> - 1.8.1-5
- cmake modules in gtest-devel needs libgmock.so.*
* Tue Jan 18 2023 xingxing<xingxing@xfusion.com> - 1.8.1-4
- Internal Change
* Wed Nov 27 2019 zhujunhao <zhujunhao5@huawei.com> - 1.8.1-3
+2 -2
View File
@@ -1,4 +1,4 @@
version_control: github
src_repo: google/googletest
tag_prefix: ^v
separator: .
tag_prefix: release-
seperator: .
BIN
View File
Binary file not shown.