Package: ruby-pkg-tools
Version: 0.11
Severity: important
Tags: patch

Hi,

  The default DEB_RUBY_ARCHDIR variable puts /ruby behind 
  Config::CONFIG["archdir"], which is wrong. Patch attached to fix this

    Sjoerd

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (101, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-686
Locale: LANG=C, LC_CTYPE=nl_NL (charmap=ISO-8859-1)

Versions of packages ruby-pkg-tools depends on:
ii  rdoc                          1.8.2-1    Generate documentation from ruby s
ii  ruby                          1.8.2-1    An interpreter of object-oriented 

Versions of packages ruby-pkg-tools recommends:
ii  devscripts                    2.9.21     Scripts to make the life of a Debi
ii  libwww-perl                   5.805-1    WWW client/server library for Perl
ii  svn-buildpackage              0.6.14     helper programs to maintain Debian

-- no debconf information
Index: 1/class/ruby-common.mk
===================================================================
--- 1/class/ruby-common.mk      (revision 868)
+++ 1/class/ruby-common.mk      (working copy)
@@ -46,7 +46,7 @@
 DEB_RUBY_VERSIONS = 1.8 1.9
 DEB_RUBY_DEFAULT_VERSION = 1.8
 DEB_RUBY_LIBDIR=$(strip $(shell ruby -rrbconfig -e 'puts 
Config::CONFIG["libdir"]')/ruby)
-DEB_RUBY_ARCHDIR=$(strip $(shell ruby -rrbconfig -e 'puts 
Config::CONFIG["archdir"]'))/ruby
+DEB_RUBY_ARCHDIR=$(strip $(shell ruby -rrbconfig -e 'puts 
Config::CONFIG["archdir"]'))/
 
 # Separate lib packages from the rest
 LIB_PACKAGE_FILTER = %-ruby $(patsubst %,\%-ruby%,$(DEB_RUBY_VERSIONS))

Reply via email to