[DRE-commits] [SCM] ruby-addressable.git branch, master, updated. debian/2.2.8-1-10-geffcf7f

Cédric Boutillier boutil at debian.org
Tue Jun 4 21:07:12 UTC 2013


The following commit has been merged in the master branch:
commit 515983d49d25dc981dedc4d6b676009fa5ff2e41
Author: Cédric Boutillier <boutil at debian.org>
Date:   Tue Jun 4 21:42:37 2013 +0200

    move unicode.data to /usr/share/ruby-addressable

diff --git a/debian/patches/move_unicode_data.patch b/debian/patches/move_unicode_data.patch
new file mode 100644
index 0000000..1b4d59d
--- /dev/null
+++ b/debian/patches/move_unicode_data.patch
@@ -0,0 +1,16 @@
+Description: move unicode.data to /usr/share/ruby-addressable/
+Author: Cédric Boutillier <boutil at debian.org>
+Forwarded: no
+Last-Update: 2013-06-4
+
+--- a/lib/addressable/idna/pure.rb
++++ b/lib/addressable/idna/pure.rb
+@@ -33,7 +33,7 @@
+ 
+ 
+     UNICODE_TABLE = File.expand_path(
+-      File.join(File.dirname(__FILE__), '../../..', 'data/unicode.data')
++      File.join(File.dirname(__FILE__), '../../../../../', 'share/ruby-addressable/unicode.data')
+     )
+ 
+     ACE_PREFIX = "xn--"
diff --git a/debian/patches/series b/debian/patches/series
index 6df1802..6ffe50f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 remove_rubygems_stuff.patch
+move_unicode_data.patch
diff --git a/debian/rules b/debian/rules
index a17ddbb..c767980 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,3 +5,7 @@
 override_dh_installchangelogs:
 	dh_installchangelogs CHANGELOG.md
 
+override_dh_auto_install:
+	dh_install data/unicode.data usr/share/ruby-addressable/
+	dh_auto_install
+

-- 
ruby-addressable.git



More information about the Pkg-ruby-extras-commits mailing list