[packages/gitlab-shell] ruby interp
glen
glen at pld-linux.org
Sun Apr 17 18:17:56 CEST 2016
commit 075858cdb118f7f052259a0c7b64a44607a1e2e7
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Apr 17 19:17:50 2016 +0300
ruby interp
gitlab-shell.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/gitlab-shell.spec b/gitlab-shell.spec
index 7e29c1b..ce4f690 100644
--- a/gitlab-shell.spec
+++ b/gitlab-shell.spec
@@ -1,7 +1,7 @@
Summary: GitLab ssh access and repository management
Name: gitlab-shell
Version: 2.6.12
-Release: 0.9
+Release: 0.10
License: MIT
Group: Applications/Shells
Source0: https://github.com/gitlabhq/gitlab-shell/archive/v%{version}/%{name}-%{version}.tar.gz
@@ -10,6 +10,7 @@ Patch0: config.yml.patch
URL: https://github.com/gitlabhq/gitlab-shell
BuildRequires: rpm-rubyprov
BuildRequires: rpmbuild(macros) >= 1.665
+BuildRequires: sed >= 4.0
Requires: ruby >= 1:2.0
Suggests: redis
BuildArch: noarch
@@ -29,6 +30,8 @@ a replacement for Bash or Zsh.
cp -p config.yml.example config.yml
%patch0 -p1
+%{__sed} -i -e '1 s,#!.*ruby,#!%{__ruby},' bin/* hooks/*
+
# deprecated
rm support/rewrite-hooks.sh
# stupid script, rather not package it at all
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gitlab-shell.git/commitdiff/075858cdb118f7f052259a0c7b64a44607a1e2e7
More information about the pld-cvs-commit
mailing list