RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/gtest#5b7562000012469b21bb8f28b383e0e36117c51f
This commit is contained in:
parent
6a2ea97ad9
commit
8b4d7793ab
7
.gitignore
vendored
7
.gitignore
vendored
@ -0,0 +1,7 @@
|
||||
gtest-1.4.0.tar.bz2
|
||||
/gtest-1.5.0.tar.bz2
|
||||
/gtest-1.6.0.zip
|
||||
/gtest-1.7.0.zip
|
||||
/release-1.8.0.tar.gz
|
||||
/release-1.8.1.tar.gz
|
||||
/googletest-release-1.10.0.tar.gz
|
||||
36
gtest-1.10.0-add-missing-pkgconfig-requires.patch
Normal file
36
gtest-1.10.0-add-missing-pkgconfig-requires.patch
Normal file
@ -0,0 +1,36 @@
|
||||
diff --git a/googlemock/cmake/gmock.pc.in b/googlemock/cmake/gmock.pc.in
|
||||
index 5780fcaa5..23c67b5c8 100644
|
||||
--- a/googlemock/cmake/gmock.pc.in
|
||||
+++ b/googlemock/cmake/gmock.pc.in
|
||||
@@ -5,6 +5,6 @@ Name: gmock
|
||||
Description: GoogleMock (without main() function)
|
||||
Version: @PROJECT_VERSION@
|
||||
URL: https://github.com/google/googletest
|
||||
-Requires: gtest
|
||||
+Requires: gtest = @PROJECT_VERSION@
|
||||
Libs: -L${libdir} -lgmock @CMAKE_THREAD_LIBS_INIT@
|
||||
Cflags: -I${includedir} @GTEST_HAS_PTHREAD_MACRO@
|
||||
diff --git a/googlemock/cmake/gmock_main.pc.in b/googlemock/cmake/gmock_main.pc.in
|
||||
index f2dfe69e0..66ffea7f4 100644
|
||||
--- a/googlemock/cmake/gmock_main.pc.in
|
||||
+++ b/googlemock/cmake/gmock_main.pc.in
|
||||
@@ -5,6 +5,6 @@ Name: gmock_main
|
||||
Description: GoogleMock (with main() function)
|
||||
Version: @PROJECT_VERSION@
|
||||
URL: https://github.com/google/googletest
|
||||
-Requires: gmock
|
||||
+Requires: gmock = @PROJECT_VERSION@
|
||||
Libs: -L${libdir} -lgmock_main @CMAKE_THREAD_LIBS_INIT@
|
||||
Cflags: -I${includedir} @GTEST_HAS_PTHREAD_MACRO@
|
||||
diff --git a/googletest/cmake/gtest_main.pc.in b/googletest/cmake/gtest_main.pc.in
|
||||
index 1e01bd19a..38c88c54d 100644
|
||||
--- a/googletest/cmake/gtest_main.pc.in
|
||||
+++ b/googletest/cmake/gtest_main.pc.in
|
||||
@@ -5,6 +5,6 @@ Name: gtest_main
|
||||
Description: GoogleTest (with main() function)
|
||||
Version: @PROJECT_VERSION@
|
||||
URL: https://github.com/google/googletest
|
||||
-Requires: gtest
|
||||
+Requires: gtest = @PROJECT_VERSION@
|
||||
Libs: -L${libdir} -lgtest_main @CMAKE_THREAD_LIBS_INIT@
|
||||
Cflags: -I${includedir} @GTEST_HAS_PTHREAD_MACRO@
|
||||
29
gtest-1.8.1-libversion.patch
Normal file
29
gtest-1.8.1-libversion.patch
Normal file
@ -0,0 +1,29 @@
|
||||
diff --git a/googlemock/CMakeLists.txt b/googlemock/CMakeLists.txt
|
||||
index 8a8de1f..d67c0f5 100644
|
||||
--- a/googlemock/CMakeLists.txt
|
||||
+++ b/googlemock/CMakeLists.txt
|
||||
@@ -109,8 +109,10 @@ if (MSVC)
|
||||
else()
|
||||
cxx_library(gmock "${cxx_strict}" src/gmock-all.cc)
|
||||
target_link_libraries(gmock PUBLIC gtest)
|
||||
+ set_target_properties(gmock PROPERTIES VERSION ${GOOGLETEST_VERSION})
|
||||
cxx_library(gmock_main "${cxx_strict}" src/gmock_main.cc)
|
||||
target_link_libraries(gmock_main PUBLIC gmock)
|
||||
+ set_target_properties(gmock_main PROPERTIES VERSION ${GOOGLETEST_VERSION})
|
||||
endif()
|
||||
# If the CMake version supports it, attach header directory information
|
||||
# to the targets for when we are part of a parent build (ie being pulled
|
||||
diff --git a/googletest/CMakeLists.txt b/googletest/CMakeLists.txt
|
||||
index 9ee7940..1f3de11 100644
|
||||
--- a/googletest/CMakeLists.txt
|
||||
+++ b/googletest/CMakeLists.txt
|
||||
@@ -131,7 +131,9 @@ endif()
|
||||
# are used for other targets, to ensure that gtest can be compiled by a user
|
||||
# aggressive about warnings.
|
||||
cxx_library(gtest "${cxx_strict}" src/gtest-all.cc)
|
||||
+set_target_properties(gtest PROPERTIES VERSION ${GOOGLETEST_VERSION})
|
||||
cxx_library(gtest_main "${cxx_strict}" src/gtest_main.cc)
|
||||
+set_target_properties(gtest_main PROPERTIES VERSION ${GOOGLETEST_VERSION})
|
||||
# If the CMake version supports it, attach header directory information
|
||||
# to the targets for when we are part of a parent build (ie being pulled
|
||||
# in via add_subdirectory() rather than being a standalone build).
|
||||
166
gtest-PR2491-Fix-gnu-install-dirs-pkg-config.patch
Normal file
166
gtest-PR2491-Fix-gnu-install-dirs-pkg-config.patch
Normal file
@ -0,0 +1,166 @@
|
||||
From 5126ff48d9ac54828d1947d1423a5ef2a8efee3b Mon Sep 17 00:00:00 2001
|
||||
From: David Seifert <soap@gentoo.org>
|
||||
Date: Sat, 5 Oct 2019 15:58:45 +0200
|
||||
Subject: [PATCH 1/2] Revert "Use pcfiledir for prefix in pkgconfig file"
|
||||
|
||||
The change makes implicit assumptions on the layout of the install
|
||||
tree, which is going to break in many ways.
|
||||
|
||||
The correct solution is to use the `PKG_CONFIG_SYSROOT_DIR` variable
|
||||
to inject the cross-compiled sysroot into `-I` and `-L` paths.
|
||||
---
|
||||
googlemock/cmake/gmock.pc.in | 5 ++---
|
||||
googlemock/cmake/gmock_main.pc.in | 5 ++---
|
||||
googletest/cmake/gtest.pc.in | 5 ++---
|
||||
googletest/cmake/gtest_main.pc.in | 5 ++---
|
||||
4 files changed, 8 insertions(+), 12 deletions(-)
|
||||
|
||||
diff --git a/googlemock/cmake/gmock.pc.in b/googlemock/cmake/gmock.pc.in
|
||||
index 08e045474..2ef0fbca1 100644
|
||||
--- a/googlemock/cmake/gmock.pc.in
|
||||
+++ b/googlemock/cmake/gmock.pc.in
|
||||
@@ -1,6 +1,5 @@
|
||||
-prefix=${pcfiledir}/../..
|
||||
-libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
|
||||
-includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
|
||||
+libdir=@CMAKE_INSTALL_FULL_LIBDIR@
|
||||
+includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
|
||||
|
||||
Name: gmock
|
||||
Description: GoogleMock (without main() function)
|
||||
diff --git a/googlemock/cmake/gmock_main.pc.in b/googlemock/cmake/gmock_main.pc.in
|
||||
index b22fe6148..04658fe2e 100644
|
||||
--- a/googlemock/cmake/gmock_main.pc.in
|
||||
+++ b/googlemock/cmake/gmock_main.pc.in
|
||||
@@ -1,6 +1,5 @@
|
||||
-prefix=${pcfiledir}/../..
|
||||
-libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
|
||||
-includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
|
||||
+libdir=@CMAKE_INSTALL_FULL_LIBDIR@
|
||||
+includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
|
||||
|
||||
Name: gmock_main
|
||||
Description: GoogleMock (with main() function)
|
||||
diff --git a/googletest/cmake/gtest.pc.in b/googletest/cmake/gtest.pc.in
|
||||
index 9aae29e26..e7967ad56 100644
|
||||
--- a/googletest/cmake/gtest.pc.in
|
||||
+++ b/googletest/cmake/gtest.pc.in
|
||||
@@ -1,6 +1,5 @@
|
||||
-prefix=${pcfiledir}/../..
|
||||
-libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
|
||||
-includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
|
||||
+libdir=@CMAKE_INSTALL_FULL_LIBDIR@
|
||||
+includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
|
||||
|
||||
Name: gtest
|
||||
Description: GoogleTest (without main() function)
|
||||
diff --git a/googletest/cmake/gtest_main.pc.in b/googletest/cmake/gtest_main.pc.in
|
||||
index 915f2973a..fe25d9c73 100644
|
||||
--- a/googletest/cmake/gtest_main.pc.in
|
||||
+++ b/googletest/cmake/gtest_main.pc.in
|
||||
@@ -1,6 +1,5 @@
|
||||
-prefix=${pcfiledir}/../..
|
||||
-libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
|
||||
-includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
|
||||
+libdir=@CMAKE_INSTALL_FULL_LIBDIR@
|
||||
+includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
|
||||
|
||||
Name: gtest_main
|
||||
Description: GoogleTest (with main() function)
|
||||
|
||||
From b96832a44b4994cafc824f200d69232d79f30d81 Mon Sep 17 00:00:00 2001
|
||||
From: David Seifert <soap@gentoo.org>
|
||||
Date: Sat, 5 Oct 2019 15:58:48 +0200
|
||||
Subject: [PATCH 2/2] Add documentation for pkg-config in cross-compilation
|
||||
settings
|
||||
|
||||
---
|
||||
googletest/docs/pkgconfig.md | 78 ++++++++++++++++++++++++++++++++++++
|
||||
1 file changed, 78 insertions(+)
|
||||
|
||||
diff --git a/googletest/docs/pkgconfig.md b/googletest/docs/pkgconfig.md
|
||||
index 6dc067388..d5f361448 100644
|
||||
--- a/googletest/docs/pkgconfig.md
|
||||
+++ b/googletest/docs/pkgconfig.md
|
||||
@@ -139,3 +139,81 @@ export PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig
|
||||
```
|
||||
|
||||
pkg-config will also try to look in `PKG_CONFIG_PATH` to find `gtest_main.pc`.
|
||||
+
|
||||
+### Using pkg-config in a cross-compilation setting
|
||||
+
|
||||
+Pkg-config can be used in a cross-compilation setting too. To do this, let's
|
||||
+assume the final prefix of the cross-compiled installation will be `/usr`,
|
||||
+and your sysroot is `/home/MYUSER/sysroot`. Configure and install GTest using
|
||||
+
|
||||
+```
|
||||
+mkdir build && cmake -DCMAKE_INSTALL_PREFIX=/usr ..
|
||||
+```
|
||||
+
|
||||
+Install into the sysroot using `DESTDIR`:
|
||||
+
|
||||
+```
|
||||
+make -j install DESTDIR=/home/MYUSER/sysroot
|
||||
+```
|
||||
+
|
||||
+Before we continue, it is recommended to **always** define the following two
|
||||
+variables for pkg-config in a cross-compilation setting:
|
||||
+
|
||||
+```
|
||||
+export PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=yes
|
||||
+export PKG_CONFIG_ALLOW_SYSTEM_LIBS=yes
|
||||
+```
|
||||
+
|
||||
+otherwise `pkg-config` will filter `-I` and `-L` flags against standard
|
||||
+prefixes such as `/usr` (see https://bugs.freedesktop.org/show_bug.cgi?id=28264#c3
|
||||
+for reasons why this stripping needs to occur usually).
|
||||
+
|
||||
+If you look at the generated pkg-config file, it will look something like
|
||||
+
|
||||
+```
|
||||
+libdir=/usr/lib64
|
||||
+includedir=/usr/include
|
||||
+
|
||||
+Name: gtest
|
||||
+Description: GoogleTest (without main() function)
|
||||
+Version: 1.10.0
|
||||
+URL: https://github.com/google/googletest
|
||||
+Libs: -L${libdir} -lgtest -lpthread
|
||||
+Cflags: -I${includedir} -DGTEST_HAS_PTHREAD=1 -lpthread
|
||||
+```
|
||||
+
|
||||
+Notice that the sysroot is not included in `libdir` and `includedir`! If you
|
||||
+try to run `pkg-config` with the correct
|
||||
+`PKG_CONFIG_LIBDIR=/home/MYUSER/sysroot/usr/lib64/pkgconfig` against this `.pc`
|
||||
+file, you will get
|
||||
+
|
||||
+```
|
||||
+$ pkg-config --cflags gtest
|
||||
+-DGTEST_HAS_PTHREAD=1 -lpthread -I/usr/include
|
||||
+$ pkg-config --libs gtest
|
||||
+-L/usr/lib64 -lgtest -lpthread
|
||||
+```
|
||||
+
|
||||
+which is obviously wrong and points to the `CBUILD` and not `CHOST` root.
|
||||
+In order to use this in a cross-compilation setting, we need to tell
|
||||
+pkg-config to inject the actual sysroot into `-I` and `-L` variables. Let us
|
||||
+now tell pkg-config about the actual sysroot
|
||||
+
|
||||
+```
|
||||
+export PKG_CONFIG_DIR=
|
||||
+export PKG_CONFIG_SYSROOT_DIR=/home/MYUSER/sysroot
|
||||
+export PKG_CONFIG_LIBDIR=${PKG_CONFIG_SYSROOT_DIR}/usr/lib64/pkgconfig
|
||||
+```
|
||||
+
|
||||
+and running `pkg-config` again we get
|
||||
+
|
||||
+```
|
||||
+$ pkg-config --cflags gtest
|
||||
+-DGTEST_HAS_PTHREAD=1 -lpthread -I/home/MYUSER/sysroot/usr/include
|
||||
+$ pkg-config --libs gtest
|
||||
+-L/home/MYUSER/sysroot/usr/lib64 -lgtest -lpthread
|
||||
+```
|
||||
+
|
||||
+which contains the correct sysroot now. For a more comprehensive guide to
|
||||
+also including `${CHOST}` in build system calls, see the excellent tutorial
|
||||
+by Diego Elio Pettenò: https://autotools.io/pkgconfig/cross-compiling.html
|
||||
@ -0,0 +1,61 @@
|
||||
From 6caa879a42d97f1b02ecc90c77fc486220251fa1 Mon Sep 17 00:00:00 2001
|
||||
From: Martin Erik Werner <martinerikwerner@gmail.com>
|
||||
Date: Sat, 19 Oct 2019 19:37:16 +0200
|
||||
Subject: [PATCH] pkg-config: Remove pthread link flag from Cflags
|
||||
|
||||
Remove the threads link library variable references from the pkg-config
|
||||
Cflags: field, removing -lpthread(s) from the compile flags.
|
||||
|
||||
"-l*" linker flags should only be part of the Libs: section and should
|
||||
not be part of the Cflags: section in pkg-config files.
|
||||
|
||||
This was first suggested in
|
||||
https://github.com/google/googletest/pull/2006 and further discussed in
|
||||
https://github.com/google/googletest/pull/2483 .
|
||||
---
|
||||
googlemock/cmake/gmock.pc.in | 2 +-
|
||||
googlemock/cmake/gmock_main.pc.in | 2 +-
|
||||
googletest/cmake/gtest.pc.in | 2 +-
|
||||
googletest/cmake/gtest_main.pc.in | 2 +-
|
||||
4 files changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/googlemock/cmake/gmock.pc.in b/googlemock/cmake/gmock.pc.in
|
||||
index 08e045474..99eb3e178 100644
|
||||
--- a/googlemock/cmake/gmock.pc.in
|
||||
+++ b/googlemock/cmake/gmock.pc.in
|
||||
@@ -8,4 +8,4 @@ Version: @PROJECT_VERSION@
|
||||
URL: https://github.com/google/googletest
|
||||
Requires: gtest
|
||||
Libs: -L${libdir} -lgmock @CMAKE_THREAD_LIBS_INIT@
|
||||
-Cflags: -I${includedir} @GTEST_HAS_PTHREAD_MACRO@ @CMAKE_THREAD_LIBS_INIT@
|
||||
+Cflags: -I${includedir} @GTEST_HAS_PTHREAD_MACRO@
|
||||
diff --git a/googlemock/cmake/gmock_main.pc.in b/googlemock/cmake/gmock_main.pc.in
|
||||
index b22fe6148..3186f8edc 100644
|
||||
--- a/googlemock/cmake/gmock_main.pc.in
|
||||
+++ b/googlemock/cmake/gmock_main.pc.in
|
||||
@@ -8,4 +8,4 @@ Version: @PROJECT_VERSION@
|
||||
URL: https://github.com/google/googletest
|
||||
Requires: gmock
|
||||
Libs: -L${libdir} -lgmock_main @CMAKE_THREAD_LIBS_INIT@
|
||||
-Cflags: -I${includedir} @GTEST_HAS_PTHREAD_MACRO@ @CMAKE_THREAD_LIBS_INIT@
|
||||
+Cflags: -I${includedir} @GTEST_HAS_PTHREAD_MACRO@
|
||||
diff --git a/googletest/cmake/gtest.pc.in b/googletest/cmake/gtest.pc.in
|
||||
index 9aae29e26..49d70c9bb 100644
|
||||
--- a/googletest/cmake/gtest.pc.in
|
||||
+++ b/googletest/cmake/gtest.pc.in
|
||||
@@ -7,4 +7,4 @@ Description: GoogleTest (without main() function)
|
||||
Version: @PROJECT_VERSION@
|
||||
URL: https://github.com/google/googletest
|
||||
Libs: -L${libdir} -lgtest @CMAKE_THREAD_LIBS_INIT@
|
||||
-Cflags: -I${includedir} @GTEST_HAS_PTHREAD_MACRO@ @CMAKE_THREAD_LIBS_INIT@
|
||||
+Cflags: -I${includedir} @GTEST_HAS_PTHREAD_MACRO@
|
||||
diff --git a/googletest/cmake/gtest_main.pc.in b/googletest/cmake/gtest_main.pc.in
|
||||
index 915f2973a..e0d81a8d6 100644
|
||||
--- a/googletest/cmake/gtest_main.pc.in
|
||||
+++ b/googletest/cmake/gtest_main.pc.in
|
||||
@@ -8,4 +8,4 @@ Version: @PROJECT_VERSION@
|
||||
URL: https://github.com/google/googletest
|
||||
Requires: gtest
|
||||
Libs: -L${libdir} -lgtest_main @CMAKE_THREAD_LIBS_INIT@
|
||||
-Cflags: -I${includedir} @GTEST_HAS_PTHREAD_MACRO@ @CMAKE_THREAD_LIBS_INIT@
|
||||
+Cflags: -I${includedir} @GTEST_HAS_PTHREAD_MACRO@
|
||||
275
gtest.spec
Normal file
275
gtest.spec
Normal file
@ -0,0 +1,275 @@
|
||||
Summary: Google C++ testing framework
|
||||
Name: gtest
|
||||
Version: 1.10.0
|
||||
Release: 3%{?dist}
|
||||
# scripts/generator/* are ASL 2.0
|
||||
License: BSD and ASL 2.0
|
||||
URL: https://github.com/google/googletest
|
||||
Source0: https://github.com/google/googletest/archive/release-%{version}/googletest-release-%{version}.tar.gz
|
||||
# Backports from upstream
|
||||
# From: https://github.com/google/googletest/pull/2491
|
||||
Patch0: gtest-PR2491-Fix-gnu-install-dirs-pkg-config.patch
|
||||
# From: https://github.com/google/googletest/pull/2556
|
||||
Patch1: gtest-PR2556-pkg-config-Remove-pthread-link-flag-from-Cflags.patch
|
||||
# Fedora-specific patches
|
||||
## Set libversion for libraries to version of gtest
|
||||
### Submitted: https://github.com/google/googletest/pull/2755
|
||||
Patch100: gtest-1.8.1-libversion.patch
|
||||
## Add missing pkgconfig requires information to reflect reality
|
||||
### Submitted: https://github.com/google/googletest/pull/2756
|
||||
Patch101: gtest-1.10.0-add-missing-pkgconfig-requires.patch
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: cmake
|
||||
BuildRequires: python3-devel
|
||||
%description
|
||||
Framework for writing C++ tests on a variety of platforms (GNU/Linux,
|
||||
Mac OS X, Windows, Windows CE, and Symbian). Based on the xUnit
|
||||
architecture. Supports automatic test discovery, a rich set of
|
||||
assertions, user-defined assertions, death tests, fatal and non-fatal
|
||||
failures, various options for running the tests, and XML test report
|
||||
generation.
|
||||
|
||||
%package -n gtest-devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
%description -n gtest-devel
|
||||
This package contains development files for %{name}.
|
||||
|
||||
%package -n gmock
|
||||
Summary: Google C++ Mocking Framework
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
%description -n gmock
|
||||
Inspired by jMock, EasyMock, and Hamcrest, and designed with C++s
|
||||
specifics in mind, Google C++ Mocking Framework (or Google Mock for
|
||||
short) is a library for writing and using C++ mock classes.
|
||||
|
||||
Google Mock:
|
||||
|
||||
o lets you create mock classes trivially using simple macros,
|
||||
o supports a rich set of matchers and actions,
|
||||
o handles unordered, partially ordered, or completely ordered
|
||||
expectations,
|
||||
o is extensible by users, and
|
||||
o works on Linux, Mac OS X, Windows, Windows Mobile, minGW, and
|
||||
Symbian.
|
||||
|
||||
%package -n gmock-devel
|
||||
Summary: Development files for gmock
|
||||
Requires: gmock = %{version}-%{release}
|
||||
%description -n gmock-devel
|
||||
This package contains development files for gmock.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n googletest-release-%{version}
|
||||
|
||||
# Set the version correctly
|
||||
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
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
%check
|
||||
%ctest
|
||||
|
||||
%files
|
||||
%license googletest/LICENSE
|
||||
%{_libdir}/libgtest.so.%{version}
|
||||
%{_libdir}/libgtest_main.so.%{version}
|
||||
|
||||
%files -n gtest-devel
|
||||
%doc googletest/{CHANGES,CONTRIBUTORS,README.md}
|
||||
%doc googletest/docs/
|
||||
%doc googletest/samples
|
||||
%{_includedir}/gtest/
|
||||
%{_libdir}/libgtest.so
|
||||
%{_libdir}/libgtest_main.so
|
||||
%{_libdir}/cmake/GTest/
|
||||
%{_libdir}/pkgconfig/gtest.pc
|
||||
%{_libdir}/pkgconfig/gtest_main.pc
|
||||
|
||||
%files -n gmock
|
||||
%license googlemock/LICENSE
|
||||
%{_libdir}/libgmock.so.%{version}
|
||||
%{_libdir}/libgmock_main.so.%{version}
|
||||
|
||||
%files -n gmock-devel
|
||||
%doc googlemock/{CHANGES,CONTRIBUTORS,README.md}
|
||||
%doc googlemock/docs/
|
||||
%{_includedir}/gmock/
|
||||
%{_libdir}/libgmock.so
|
||||
%{_libdir}/libgmock_main.so
|
||||
%{_libdir}/pkgconfig/gmock.pc
|
||||
%{_libdir}/pkgconfig/gmock_main.pc
|
||||
|
||||
%changelog
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* 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
|
||||
- Rebase to 1.10.0 (rhbz#1810432)
|
||||
- Remove upstreamed patches
|
||||
- Backport fixes from upstream for pkgconfig files
|
||||
- Refresh pkgconfig dependency information patch
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.1-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Thu Sep 27 2018 Neal Gompa <ngompa13@gmail.com> - 1.8.1-2
|
||||
- Fix the build to set the version in the CMakeLists correctly
|
||||
- Update the libversion patch to use the version in CMakeLists
|
||||
- Correctly install the CMake and pkgconfig files
|
||||
- Fix the pkgconfig dependency information
|
||||
- Add missing strong dependency on gtest by gmock
|
||||
- Add patch to make tests work with Python 3
|
||||
|
||||
* Mon Sep 10 2018 Terje Rosten <terje.rosten@ntnu.no> - 1.8.1-1
|
||||
- Fix license (rhbz#1603577)
|
||||
- 1.8.1
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Wed Feb 14 2018 Neal Gompa <ngompa13@gmail.com> - 1.8.0-3
|
||||
- Add patch to fix gmock segfaults (rhbz#1513522)
|
||||
- Add patch to properly version the libraries
|
||||
- Move the documentation to the right place
|
||||
- Drop unneeded ldconfig scriptlets:
|
||||
https://fedoraproject.org/wiki/Changes/Removing_ldconfig_scriptlets
|
||||
- Some clean up
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Sun Oct 15 2017 Dan Cermak <dan.cermak@cgc-instruments.com> - 1.8.0-1
|
||||
- 1.8.0
|
||||
- Merge gtest and gmock (rhbz#1314927)
|
||||
|
||||
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Sun Jan 15 2017 Terje Rosten <terje.rosten@ntnu.no> - 1.7.0-8
|
||||
- Use patch from Jonathan Wakely to fix opt issue (rhbz#1408291)
|
||||
|
||||
* Wed Dec 21 2016 Merlin Mathesius <mmathesi@redhat.com> - 1.7.0-7
|
||||
- Disable C++ compiler optimization to fix FTBFS (BZ#1406937).
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Sun Apr 12 2015 Dominik Mierzejewski <rpm@greysector.net> - 1.7.0-4
|
||||
- rebuilt for gcc-5.0.0-0.22.fc23
|
||||
|
||||
* Mon Feb 23 2015 Terje Rosten <terje.rosten@ntnu.no> - 1.7.0-3
|
||||
- Rebuild for gcc5
|
||||
|
||||
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Tue Jul 22 2014 Terje Rosten <terje.rosten@ntnu.no> - 1.7.0-1
|
||||
- 1.7.0
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Tue May 21 2013 Rex Dieter <rdieter@fedoraproject.org> 1.6.0-3
|
||||
- use %%cmake macro, fix %%check, use RPM_BULID_ROOT consistently
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Fri Sep 28 2012 Akira TAGOH <tagoh@redhat.com> - 1.6.0-1
|
||||
- New upstream release.
|
||||
- Using autotools is not supported in upstream anymore. switching to cmake.
|
||||
- undefined reference issues seems gone now. (#813825)
|
||||
|
||||
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Thu Sep 15 2011 Akira TAGOH <tagoh@redhat.com> j- 1.5.0-5
|
||||
- Fix FTBFS issue; update libtool files instead of disabling rpath things.
|
||||
|
||||
* Sun Mar 20 2011 Terje Rosten <terje.rosten@ntnu.no> - 1.5.0-4
|
||||
- add patch from Dan Horák to let 'make check' work
|
||||
|
||||
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Sun Jan 16 2011 Terje Rosten <terje.rosten@ntnu.no> - 1.5.0-2
|
||||
- add python to buildreq
|
||||
|
||||
* Wed Jan 12 2011 Terje Rosten <terje.rosten@ntnu.no> - 1.5.0-1
|
||||
- 1.5.0
|
||||
- some cleanup
|
||||
|
||||
* Thu Aug 26 2010 Dan Horák <dan[at]danny.cz> - 1.4.0-2
|
||||
- added workaround for linking the tests on Fedora >= 13 (#564953, #599865)
|
||||
|
||||
* Sat Nov 14 2009 Debarshi Ray <rishi@fedoraproject.org> - 1.4.0-1
|
||||
- Version bump to 1.4.0.
|
||||
* New feature: the event listener API.
|
||||
* New feature: test shuffling.
|
||||
* New feature: the XML report format is closer to junitreport and can
|
||||
be parsed by Hudson now.
|
||||
* New feature: elapsed time for the tests is printed by default.
|
||||
* New feature: comes with a TR1 tuple implementation such that Boost
|
||||
is no longer needed for Combine().
|
||||
* New feature: EXPECT_DEATH_IF_SUPPORTED macro and friends.
|
||||
* New feature: the Xcode project can now produce static gtest libraries in
|
||||
addition to a framework.
|
||||
* Compatibility fixes for gcc and minGW.
|
||||
* Bug fixes and implementation clean-ups.
|
||||
|
||||
* Fri Jul 24 2009 Release Engineering <rel-eng@fedoraproject.org> - 1.3.0-2.20090601svn257
|
||||
- Autorebuild for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Mon Jun 01 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.3.0-1
|
||||
- Version bump to 1.3.0.
|
||||
* New feature: ability to use Google Test assertions in other testing
|
||||
frameworks.
|
||||
* New feature: ability to run disabled test via
|
||||
--gtest_also_run_disabled_tests.
|
||||
* New feature: the --help flag for printing the usage.
|
||||
* New feature: access to Google Test flag values in user code.
|
||||
* New feature: a script that packs Google Test into one .h and one .cc file
|
||||
for easy deployment.
|
||||
* New feature: support for distributing test functions to multiple machines
|
||||
(requires support from the test runner).
|
||||
* Bug fixes and implementation clean-ups.
|
||||
|
||||
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
* Sat Jul 05 2008 Debarshi Ray <rishi@fedoraproject.org> - 1.0.0-1
|
||||
- Initial build.
|
||||
Loading…
Reference in New Issue
Block a user