]> git.pld-linux.org Git - packages/gitlab-ce.git/commitdiff
gem cache bcond
authorElan Ruusamäe <glen@delfi.ee>
Fri, 15 Apr 2016 21:20:34 +0000 (00:20 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Fri, 15 Apr 2016 21:20:34 +0000 (00:20 +0300)
gitlab-ce.spec

index c6737bb1249d9bd7760a40dea5eb6fd13ff087bb..48458c4446e92c546c460b5ca1b422a6b13eba5e 100644 (file)
@@ -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}
 
This page took 0.073218 seconds and 4 git commands to generate.