[rubygem-rails] Do not mess with shebangs.

Vít Ondruch vondruch at fedoraproject.org
Tue Mar 29 08:22:23 UTC 2011


commit 6ccdfeed14844112df18d74f9f912c97947fc361
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Tue Mar 29 10:19:35 2011 +0200

    Do not mess with shebangs.

 rubygem-rails.spec |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/rubygem-rails.spec b/rubygem-rails.spec
index e7194e5..f24be91 100644
--- a/rubygem-rails.spec
+++ b/rubygem-rails.spec
@@ -46,15 +46,6 @@ gem install --local --install-dir %{buildroot}%{gemdir} \
             -V --no-rdoc --no-ri \
             --force %{SOURCE0}
 
-# Cleanup some upstream packaging oddities, mostly to make rpmlint happy
-sed -i '1i#!/usr/bin/ruby\n' %{buildroot}%{geminstdir}/bin/rails
-
-# ref: bug 496480
-for file in `find %{buildroot}/%{geminstdir}/ -type f -perm /a+x`; do
-  sed -i -e '1s|%{_bindir}/env ruby|%{_bindir}/ruby|' $file
-  chmod 755 $file
-done
-
 # Remove backup files
 find %{buildroot}/%{geminstdir} -type f -name "*~" -delete
 


More information about the scm-commits mailing list