[ruby-romkan/f17: 1/2] Properly set romkan.rb encoding to work with Ruby 1.9.3.

Vít Ondruch vondruch at fedoraproject.org
Fri Mar 2 11:07:49 UTC 2012


commit 1d7ed77ac2869f0d3b9054d95d1c3ec8a8e9281c
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Fri Mar 2 12:07:00 2012 +0100

    Properly set romkan.rb encoding to work with Ruby 1.9.3.

 ruby-romkan.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/ruby-romkan.spec b/ruby-romkan.spec
index b63aefa..d037b1b 100644
--- a/ruby-romkan.spec
+++ b/ruby-romkan.spec
@@ -2,7 +2,7 @@
 
 Name:		ruby-romkan
 Version:	0.4
-Release:	7%{?dist}
+Release:	8%{?dist}
 Summary:	Romaji <-> Kana conversion library for Ruby
 Group:		Development/Languages
 License:	Ruby
@@ -26,6 +26,8 @@ versa.
 
 %prep
 %setup -q
+sed -i '1 i\
+# -*- encoding:euc-jp -*-' romkan.rb
 
 %build
 
@@ -48,6 +50,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Mar 02 2012 Bohuslav Kabrda <bkabrda at redhat.com> - 0.4-8
+- Properly set romkan.rb encoding to work with Ruby 1.9.3.
+
 * Wed Feb 29 2012 Bohuslav Kabrda <bkabrda at redhat.com> - 0.4-7
 - Rebuilt for Ruby 1.9.3.
 


More information about the scm-commits mailing list