commit e1281e416f55e5b8fd62c353c9617805ad5ef16c
Author: Elan Ruusamäe <[email protected]>
Date:   Sat Apr 16 00:20:34 2016 +0300

    gem cache bcond

 gitlab-ce.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/gitlab-ce.spec b/gitlab-ce.spec
index c6737bb..48458c4 100644
--- a/gitlab-ce.spec
+++ b/gitlab-ce.spec
@@ -12,6 +12,7 @@
 #
 # Conditional build:
 %bcond_with    krb5            # build with kerberos support
+%bcond_with    gem_cache       # build from local gem cache only (avoids 
network)
 
 Summary:       A Web interface to create projects and repositories, manage 
access and do code reviews
 Name:          gitlab-ce
@@ -74,6 +75,7 @@ find -name .gitkeep | xargs rm
 %build
 bundle install %{_smp_mflags} \
        --verbose \
+       %{?with_gem_cache:--local} \
        %{?debug:--no-cache --no-prune} \
         --deployment --without development test aws %{!?with_krb5:kerberos}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gitlab-ce.git/commitdiff/e1281e416f55e5b8fd62c353c9617805ad5ef16c

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

Reply via email to