]> git.pld-linux.org Git - packages/gitlab-shell.git/commitdiff
ruby interp
authorElan Ruusamäe <glen@delfi.ee>
Sun, 17 Apr 2016 16:17:50 +0000 (19:17 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 17 Apr 2016 16:17:50 +0000 (19:17 +0300)
gitlab-shell.spec

index 7e29c1b858338eedc85d6eb5a5036e9d4a6e7c69..ce4f690667264038bd171521bf0a33a86c0f6741 100644 (file)
@@ -1,7 +1,7 @@
 Summary:       GitLab ssh access and repository management
 Name:          gitlab-shell
 Version:       2.6.12
 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
 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
 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
 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
 
 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
 # deprecated
 rm support/rewrite-hooks.sh
 # stupid script, rather not package it at all
This page took 0.036107 seconds and 4 git commands to generate.