Bug#684799: unblock: bundler/1.1.4-5
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
Please unblock package bundler
This package displays its usage information using 'less'. On systems
without 'less' installed, using 'sensible-pager' should work. The diff
is trivial:
$ git diff debian/1.1.4-4 debian/1.1.4-5
diff --git a/debian/changelog b/debian/changelog
index 54ab2e2..982c2ef 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+bundler (1.1.4-5) unstable; urgency=low
+
+ * Team upload
+ * Use sensible-pager instead of less for displaying the help (Closes:
+ #684798)
+
+ -- Gunnar Wolf <gwolf@debian.org> Mon, 13 Aug 2012 19:05:47 -0500
+
bundler (1.1.4-4) unstable; urgency=low
* Bump gem2deb build-dependency so we ship the rubygems-integration files.
diff --git a/debian/patches/series b/debian/patches/series
index cde7751..9e6b014 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+use-sensible-pager-not-less
fix-manpage-warning.patch
diff --git a/debian/patches/use-sensible-pager-not-less b/debian/patches/use-sensible-pager-not-less
new file mode 100644
index 0000000..97ccb47
--- /dev/null
+++ b/debian/patches/use-sensible-pager-not-less
@@ -0,0 +1,13 @@
+Index: bundler/lib/bundler/cli.rb
+===================================================================
+--- bundler.orig/lib/bundler/cli.rb 2012-07-25 17:34:22.000000000 -0500
++++ bundler/lib/bundler/cli.rb 2012-08-13 19:04:18.000000000 -0500
+@@ -41,7 +41,7 @@
+
+ if have_groff? && root !~ %r{^file:/.+!/META-INF/jruby.home/.+}
+ groff = "groff -Wall -mtty-char -mandoc -Tascii"
+- pager = ENV['MANPAGER'] || ENV['PAGER'] || 'less -R'
++ pager = ENV['MANPAGER'] || ENV['PAGER'] || 'sensible-pager -R'
+
+ Kernel.exec "#{groff} #{root}/#{command} | #{pager}"
+ else
Thanks!
unblock bundler/1.1.4-5
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Reply to: