[DRE-commits] [ruby-gettext] 03/04: Add a patch to explicitly use ruby1.9.1 for scripts

Jérémy Bobbio lunar at moszumanska.debian.org
Tue Dec 17 16:01:39 UTC 2013


This is an automated email from the git hooks/post-receive script.

lunar pushed a commit to branch wheezy-backports
in repository ruby-gettext.

commit 4dc3aef0e3148b416b1cd02e44d4a84e75bdb4d9
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Tue Dec 17 16:50:10 2013 +0100

    Add a patch to explicitly use ruby1.9.1 for scripts
---
 debian/control                                     |  2 +-
 ...0007-Explicitly-use-ruby1.9.1-for-scripts.patch | 55 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 3 files changed, 57 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index fc8e3d0..955b461 100644
--- a/debian/control
+++ b/debian/control
@@ -22,7 +22,7 @@ XS-Ruby-Versions: ruby1.9.1
 Package: ruby-gettext
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: ruby | ruby-interpreter,
+Depends: ruby1.9.1,
          ruby-locale (>= 2.0.5),
          ruby-text,
          ${misc:Depends},
diff --git a/debian/patches/0007-Explicitly-use-ruby1.9.1-for-scripts.patch b/debian/patches/0007-Explicitly-use-ruby1.9.1-for-scripts.patch
new file mode 100644
index 0000000..f58b45b
--- /dev/null
+++ b/debian/patches/0007-Explicitly-use-ruby1.9.1-for-scripts.patch
@@ -0,0 +1,55 @@
+From 4264d91a4cd6e746c10d2fd9151dbc0da277313c Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Bobbio?= <lunar at debian.org>
+Date: Tue, 17 Dec 2013 16:48:20 +0100
+Subject: [PATCH] Explicitly use ruby1.9.1 for scripts
+
+---
+ bin/rmsgfmt   |    2 +-
+ bin/rmsginit  |    2 +-
+ bin/rmsgmerge |    2 +-
+ bin/rxgettext |    2 +-
+ 4 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/bin/rmsgfmt b/bin/rmsgfmt
+index f2336ca..449b09a 100755
+--- a/bin/rmsgfmt
++++ b/bin/rmsgfmt
+@@ -1,4 +1,4 @@
+-#! /usr/bin/env ruby
++#! /usr/bin/env ruby1.9.1
+ # -*- coding: utf-8 -*-
+ #
+ # Copyright (C) 2012  Kouhei Sutou <kou at clear-code.com>
+diff --git a/bin/rmsginit b/bin/rmsginit
+index 99c8e14..468e6a0 100755
+--- a/bin/rmsginit
++++ b/bin/rmsginit
+@@ -1,4 +1,4 @@
+-#! /usr/bin/env ruby
++#! /usr/bin/env ruby1.9.1
+ # -*- coding: utf-8 -*-
+ #
+ # Copyright (C) 2012  Kouhei Sutou <kou at clear-code.com>
+diff --git a/bin/rmsgmerge b/bin/rmsgmerge
+index 438d893..8a8b317 100755
+--- a/bin/rmsgmerge
++++ b/bin/rmsgmerge
+@@ -1,4 +1,4 @@
+-#! /usr/bin/env ruby
++#! /usr/bin/env ruby1.9.1
+ # -*- coding: utf-8 -*-
+ #
+ # Copyright (C) 2012  Kouhei Sutou <kou at clear-code.com>
+diff --git a/bin/rxgettext b/bin/rxgettext
+index dd7122a..85016fa 100755
+--- a/bin/rxgettext
++++ b/bin/rxgettext
+@@ -1,4 +1,4 @@
+-#! /usr/bin/env ruby
++#! /usr/bin/env ruby1.9.1
+ # -*- coding: utf-8 -*-
+ #
+ # Copyright (C) 2012  Kouhei Sutou <kou at clear-code.com>
+-- 
+1.7.10.4
+
diff --git a/debian/patches/series b/debian/patches/series
index 930c5ba..983b5c8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@
 0004-Use-system-racc-in-Rakefile.patch
 0005-Restore-compatibility-with-Ruby-1.8.patch
 0006-Add-missing-require-in-lib-gettext-tools-xgettext.rb.patch
+0007-Explicitly-use-ruby1.9.1-for-scripts.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-gettext.git



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