[packages/glog] - BC gmock if built without tests

baggins baggins at pld-linux.org
Tue Feb 13 21:39:09 CET 2018


commit 54e3f72620c9b3a0f3cabc7f56698a9d2df0c91c
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Feb 13 21:38:51 2018 +0100

    - BC gmock if built without tests

 glog.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/glog.spec b/glog.spec
index 3ca0ef7..ddbaedc 100644
--- a/glog.spec
+++ b/glog.spec
@@ -25,6 +25,9 @@ BuildRequires:	pkgconfig
 %if %{with tests}
 BuildRequires:	gmock-devel
 BuildRequires:	gtest-devel
+%else
+BuildConflicts:	gmock-devel
+BuildConflicts:	gtest-devel
 %endif
 %ifarch %{ix86} %{x8664} arm hppa ia64 mips ppc ppc64 sh
 BuildRequires:	libunwind-devel
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/glog.git/commitdiff/54e3f72620c9b3a0f3cabc7f56698a9d2df0c91c



More information about the pld-cvs-commit mailing list