]> git.pld-linux.org Git - packages/glog.git/commitdiff
- switched tests to system gmock-devel (as packaged since 1.10.0)
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 22 May 2020 19:25:33 +0000 (21:25 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Fri, 22 May 2020 19:25:33 +0000 (21:25 +0200)
glog.spec

index 6a46ef77b1f4702d820e8b1d65109d17d022f21d..c8fed78ba4afa5109a2b62c5596139441ccb6a4c 100644 (file)
--- a/glog.spec
+++ b/glog.spec
@@ -22,7 +22,7 @@ BuildRequires:        libstdc++-devel
 BuildRequires: libtool >= 2:1.5
 BuildRequires: pkgconfig
 %if %{with tests}
-BuildRequires: gmock-devel
+BuildRequires: gmock-devel >= 1.10.0
 BuildRequires: gtest-devel
 %else
 BuildConflicts:        gmock-devel
@@ -77,15 +77,6 @@ Statyczna biblioteka glog.
 %patch1 -p1
 
 %build
-%if %{with tests}
-install -d gmock
-cd gmock
-%cmake $(pkg-config --variable=srcdir gmock) \
-       -DBUILD_SHARED_LIBS=OFF
-%{__make}
-cd ..
-LDFLAGS="%{rpmldflags} -L$(pwd)/gmock"
-%endif
 %{__libtoolize}
 %{__aclocal} -I m4
 %{__autoconf}
This page took 0.153895 seconds and 4 git commands to generate.