rpms/rubygem-rails/devel rubygem-rails.spec,1.10,1.11

David Lutterkort lutter at fedoraproject.org
Wed May 6 23:38:32 UTC 2009


Author: lutter

Update of /cvs/pkgs/rpms/rubygem-rails/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16275/devel

Modified Files:
	rubygem-rails.spec 
Log Message:
Fix bz 496480


Index: rubygem-rails.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-rails/devel/rubygem-rails.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -p -r1.10 -r1.11
--- rubygem-rails.spec	16 Mar 2009 12:38:55 -0000	1.10
+++ rubygem-rails.spec	6 May 2009 23:38:01 -0000	1.11
@@ -7,7 +7,7 @@
 Summary: Web-application framework
 Name: rubygem-%{gemname}
 Version: 2.3.2
-Release: 1%{?dist}
+Release: 2%{?dist}
 Group: Development/Languages
 License: MIT
 URL: http://www.rubyonrails.org
@@ -48,7 +48,7 @@ find %{buildroot}%{geminstdir}/bin -type
 sed -i '1i#!/usr/bin/ruby\n' %{buildroot}%{geminstdir}/bin/rails
 
 for file in `find %{buildroot}/%{geminstdir}/ -type f -perm /a+x`; do
-  sed -i -e '1c#!/usr/bin/ruby' $file
+  sed -i -re '1s@^#!.*$@#! /usr/bin/ruby@' $file
   chmod 755 $file
 done
 
@@ -100,6 +100,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Wed May  6 2009 David Lutterkort <lutter at redhat.com> - 2.3.2-2
+- Fix replacement of shebang lines; broke scripts/generate (bz 496480)
+
 * Mon Mar 16 2009 Jeroen van Meeuwen <j.van.meeuwen at ogd.nl> - 2.3.2-1
 - New upstream version
 




More information about the scm-commits mailing list