From 117d8ed5521a7f72a6a6aff9e3ead9040982e55d Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Fri, 11 Jan 2008 00:43:43 +0000 Subject: [PATCH] - Fix an unnecessary replacement for shebang. (#426835) --- ruby.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ruby.spec b/ruby.spec index cffdc97..cbc7485 100644 --- a/ruby.spec +++ b/ruby.spec @@ -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 @@ cd .. # 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 @@ rm -rf tmp-ruby-docs %endif %changelog +* Fri Jan 11 2008 Akira TAGOH - 1.8.6.111-6 +- Fix an unnecessary replacement for shebang. (#426835) + * Fri Jan 4 2008 Akira TAGOH - 1.8.6.111-5 - Rebuild.