[packages/libgit2] disable "Build Tests using the Clar suite" when not running tests

glen glen at pld-linux.org
Fri May 27 09:25:08 CEST 2016


commit 281d638aaa4068a59b4a36ee9baf131452d4b187
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri May 27 10:24:38 2016 +0300

    disable "Build Tests using the Clar suite" when not running tests

 libgit2.spec | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/libgit2.spec b/libgit2.spec
index 9b80cf7..de0ff91 100644
--- a/libgit2.spec
+++ b/libgit2.spec
@@ -75,6 +75,7 @@ cd build
 %cmake .. \
 	-DINCLUDE_INSTALL_DIR:PATH=include \
 	-DLIB_INSTALL_DIR:PATH=%{_lib} \
+	%{cmake_with tests BUILD_CLAR} \
 	%{cmake_with curl CURL} \
 	%{cmake_with kerberos5 USE_GSSAPI} \
 	%{cmake_with libssh USE_SSH} \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libgit2.git/commitdiff/281d638aaa4068a59b4a36ee9baf131452d4b187



More information about the pld-cvs-commit mailing list