[DRE-commits] [gem2deb] 01/01: dh-make-ruby: avoid `ruby | ruby-interpreter` in Build-Depends:

Antonio Terceiro terceiro at moszumanska.debian.org
Sat Mar 14 23:11:12 UTC 2015


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

terceiro pushed a commit to branch master
in repository gem2deb.

commit 170ff7427b1e0d50490cdd3705da3c6662c5cf2b
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Sat Mar 14 20:10:19 2015 -0300

    dh-make-ruby: avoid `ruby | ruby-interpreter` in Build-Depends:
---
 lib/gem2deb/dh_make_ruby.rb                      | 4 +---
 lib/gem2deb/dh_make_ruby/template/debian/control | 2 +-
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/lib/gem2deb/dh_make_ruby.rb b/lib/gem2deb/dh_make_ruby.rb
index 302bd4b..4c39f1f 100644
--- a/lib/gem2deb/dh_make_ruby.rb
+++ b/lib/gem2deb/dh_make_ruby.rb
@@ -347,9 +347,7 @@ module Gem2Deb
         self.architecture = architecture
       end
       def dependencies
-        @dependencies ||= [
-          'ruby | ruby-interpreter',
-        ]
+        @dependencies ||= []
       end
     end
 
diff --git a/lib/gem2deb/dh_make_ruby/template/debian/control b/lib/gem2deb/dh_make_ruby/template/debian/control
index b765173..7811234 100644
--- a/lib/gem2deb/dh_make_ruby/template/debian/control
+++ b/lib/gem2deb/dh_make_ruby/template/debian/control
@@ -14,7 +14,7 @@ XS-Ruby-Versions: <%= ruby_versions %>
 Package: <%= binary_package.name %>
 Architecture: <%= binary_package.architecture %>
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, <%= binary_package.dependencies.join(', ') %>
+Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, <%= binary_package.dependencies.join(', ') %>
 Description: <%= short_description ? short_description : 'FIXME' %>
 <% if long_description %>
 <%= long_description.lines.map { |line| ' ' + (line.strip.empty? ? '.' : line.strip) }.join("\n") + "\n" %>

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



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