]> git.pld-linux.org Git - packages/ruby-rest-client.git/commitdiff
ruby shebang
authorElan Ruusamäe <glen@delfi.ee>
Mon, 29 Apr 2013 23:03:05 +0000 (02:03 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 14 Dec 2014 17:58:35 +0000 (19:58 +0200)
ruby-rest-client.spec

index 044df1f0cda06eabdee27c28fada24a2e17ee1d8..b69f502681107dbd1ae2412ab2c93de4fad568f2 100644 (file)
@@ -14,6 +14,7 @@ Source0:      http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
 URL:           http://github.com/archiloque/rest-client
 BuildRequires: rpm-rubyprov
 BuildRequires: rpmbuild(macros) >= 1.656
+BuildRequires: sed >= 4.0
 %if %{with tests}
 BuildRequires: ruby-mime-types >= 1.16
 BuildRequires: ruby-netrc
@@ -31,6 +32,7 @@ microframework style of specifying actions: get, put, post, delete.
 
 %prep
 %setup -q -n %{gem_name}-%{version}
+%{__sed} -i -e '1 s,#!.*ruby,#!%{__ruby},' bin/*
 
 %build
 %if %{with tests}
This page took 0.069103 seconds and 4 git commands to generate.