[DRE-commits] [gem2deb] 02/02: gem2deb: add missing dependency on ruby-setup

Antonio Terceiro terceiro at moszumanska.debian.org
Thu Apr 9 14:46:08 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 e4e1bd3ebfc4df4df052090271cf43e82c37454f
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Thu Apr 9 16:46:01 2015 +0200

    gem2deb: add missing dependency on ruby-setup
---
 debian/changelog                  | 2 ++
 lib/gem2deb/setup_rb_installer.rb | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 92cfa71..3480c91 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ gem2deb (0.14) UNRELEASED; urgency=medium
     library directories installed in debian/$pkg
   * SetupRbInstaller: copy system copy of setup.rb instead of symlinking. This
     will fail if it's not there.
+  * gem2deb: add missing dependency on ruby-setup, since setup.rb is used
+    explicitly by gem2deb
 
  -- Antonio Terceiro <terceiro at debian.org>  Thu, 09 Apr 2015 16:14:32 +0200
 
diff --git a/lib/gem2deb/setup_rb_installer.rb b/lib/gem2deb/setup_rb_installer.rb
index 78d263c..ec77e27 100644
--- a/lib/gem2deb/setup_rb_installer.rb
+++ b/lib/gem2deb/setup_rb_installer.rb
@@ -55,7 +55,7 @@ module Gem2Deb
       if File.exists?('setup.rb')
         run('mv', 'setup.rb', 'setup.rb.gem2deb-orig')
       end
-      run('ln', '-s', '/usr/lib/ruby/vendor_ruby/setup.rb', 'setup.rb')
+      run('cp', '/usr/lib/ruby/vendor_ruby/setup.rb', 'setup.rb')
       begin
         yield
       ensure

-- 
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