[packages/ruby-bundler] avoid /usr/bin/env deps
glen
glen at pld-linux.org
Wed Apr 24 22:54:14 CEST 2013
commit 94c275fbe044987b347dc2cb767fc651a7685df9
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Apr 24 23:54:01 2013 +0300
avoid /usr/bin/env deps
ruby-bundler.spec | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/ruby-bundler.spec b/ruby-bundler.spec
index 01b5ad1..59808ba 100644
--- a/ruby-bundler.spec
+++ b/ruby-bundler.spec
@@ -49,6 +49,9 @@ Dokumentacji w formacie ri dla %{pkgname}.
%{__sed} -i -e '1 s,#!.*ruby,#!%{__ruby},' bin/*
+# do not generate shebang deps
+chmod a-x lib/bundler/templates/Executable
+
# move, not to package
mv lib/bundler/vendor .
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ruby-bundler.git/commitdiff/94c275fbe044987b347dc2cb767fc651a7685df9
More information about the pld-cvs-commit
mailing list