rpms/ruby/devel ruby.spec,1.109,1.110

Akira Tagoh (tagoh) fedora-extras-commits at redhat.com
Fri Jan 11 00:44:25 UTC 2008


Author: tagoh

Update of /cvs/pkgs/rpms/ruby/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24429

Modified Files:
	ruby.spec 
Log Message:
* Fri Jan 11 2008 Akira TAGOH <tagoh at redhat.com> - 1.8.6.111-6
- Fix an unnecessary replacement for shebang. (#426835)


Index: ruby.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ruby/devel/ruby.spec,v
retrieving revision 1.109
retrieving revision 1.110
diff -u -r1.109 -r1.110
--- ruby.spec	4 Jan 2008 03:04:40 -0000	1.109
+++ ruby.spec	11 Jan 2008 00:43:43 -0000	1.110
@@ -12,7 +12,7 @@
 
 Name:		ruby
 Version:	%{rubyver}%{?dotpatchlevel}
-Release:	5%{?dist}
+Release:	6%{?dist}
 License:	Ruby or GPL+
 URL:		http://www.ruby-lang.org/
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -331,7 +331,7 @@
 
 # remove shebang
 for i in $RPM_BUILD_ROOT%{_prefix}/lib/ruby/1.8/{abbrev,generator,irb/{cmd/subirb,ext/save-history},matrix,rdoc/{markup/sample/rdoc2latex,parsers/parse_rb},set,tsort}.rb; do
-	sed -i -e '/#![ 	]*/{D}' $i
+	sed -i -e '/^#!.*/,1D' $i
 done
 
 %clean
@@ -510,6 +510,9 @@
 %endif
 
 %changelog
+* Fri Jan 11 2008 Akira TAGOH <tagoh at redhat.com> - 1.8.6.111-6
+- Fix an unnecessary replacement for shebang. (#426835)
+
 * Fri Jan  4 2008 Akira TAGOH <tagoh at redhat.com> - 1.8.6.111-5
 - Rebuild.
 




More information about the fedora-extras-commits mailing list