commit a73bca1d274f6207c582bb525ffdf00ccbe7b25e
Author: Elan Ruusamäe <[email protected]>
Date:   Sat Aug 24 00:48:54 2013 +0300

    add tests (disabled as requires sudo)

 lxc-docker.spec | 8 ++++++++
 1 file changed, 8 insertions(+)
---
diff --git a/lxc-docker.spec b/lxc-docker.spec
index 9a49c48..d24ecb0 100644
--- a/lxc-docker.spec
+++ b/lxc-docker.spec
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_with    tests           # build without tests
+#
 Summary:       Docker: the Linux container engine
 Name:          lxc-docker
 Version:       0.6.0
@@ -80,6 +84,10 @@ unset GIT_WORK_TREE
 unset GIT_DIR
 %{__make} VERBOSE=1
 
+%if %{with tests}
+%{__make} test
+%endif
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d 
$RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,/var/lib/docker/{containers,graph,volumes}}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lxc-docker.git/commitdiff/a73bca1d274f6207c582bb525ffdf00ccbe7b25e

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to