|
|
@ -1,7 +1,7 @@
|
|
|
|
Summary: Google C++ testing framework
|
|
|
|
Summary: Google C++ testing framework
|
|
|
|
Name: gtest
|
|
|
|
Name: gtest
|
|
|
|
Version: 1.10.0
|
|
|
|
Version: 1.10.0
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
# scripts/generator/* are ASL 2.0
|
|
|
|
# scripts/generator/* are ASL 2.0
|
|
|
|
License: BSD and ASL 2.0
|
|
|
|
License: BSD and ASL 2.0
|
|
|
|
URL: https://github.com/google/googletest
|
|
|
|
URL: https://github.com/google/googletest
|
|
|
@ -68,19 +68,16 @@ sed -e "s/set(GOOGLETEST_VERSION .*)/set(GOOGLETEST_VERSION %{version})/" -i CMa
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
mkdir build && cd build
|
|
|
|
|
|
|
|
%cmake -DBUILD_SHARED_LIBS=ON \
|
|
|
|
%cmake -DBUILD_SHARED_LIBS=ON \
|
|
|
|
-DPYTHON_EXECUTABLE=%{__python3} \
|
|
|
|
-DPYTHON_EXECUTABLE=%{__python3} \
|
|
|
|
-Dgtest_build_tests=ON ..
|
|
|
|
-Dgtest_build_tests=ON
|
|
|
|
%make_build
|
|
|
|
%cmake_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
cd build
|
|
|
|
%cmake_install
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
cd build
|
|
|
|
%ctest
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%license googletest/LICENSE
|
|
|
|
%license googletest/LICENSE
|
|
|
@ -113,6 +110,9 @@ make test
|
|
|
|
%{_libdir}/pkgconfig/gmock_main.pc
|
|
|
|
%{_libdir}/pkgconfig/gmock_main.pc
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sat Jul 25 2020 Terje Rosten <terje.rosten@ntnu.no> - 1.10.0-2
|
|
|
|
|
|
|
|
- Use new set of cmake macros
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Mar 21 2020 Neal Gompa <ngompa13@gmail.com> - 1.10.0-1
|
|
|
|
* Sat Mar 21 2020 Neal Gompa <ngompa13@gmail.com> - 1.10.0-1
|
|
|
|
- Rebase to 1.10.0 (rhbz#1810432)
|
|
|
|
- Rebase to 1.10.0 (rhbz#1810432)
|
|
|
|
- Remove upstreamed patches
|
|
|
|
- Remove upstreamed patches
|
|
|
|