diff options
author | Vít Ondruch <vondruch@redhat.com> | 2011-03-29 10:19:35 +0200 |
---|---|---|
committer | Vít Ondruch <vondruch@redhat.com> | 2011-03-29 10:19:35 +0200 |
commit | 6ccdfeed14844112df18d74f9f912c97947fc361 (patch) | |
tree | ac5013996cbe97f9ca097e124c9185c1750edb66 | |
parent | 66f528f1b426f967c040446c3a59ac9ec46b14f2 (diff) | |
download | rubygem-rails-6ccdfeed14844112df18d74f9f912c97947fc361.tar.gz rubygem-rails-6ccdfeed14844112df18d74f9f912c97947fc361.tar.xz rubygem-rails-6ccdfeed14844112df18d74f9f912c97947fc361.zip |
Do not mess with shebangs.
-rw-r--r-- | 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 |