[Apt-listbugs-commits] [SCM] apt-listbugs development tree branch, master, updated. apt-listbugs/0.1.5-2-gec5c909

Francesco Poli (wintermute) invernomuto at paranoici.org
Wed Sep 7 19:40:58 UTC 2011


The following commit has been merged in the master branch:
commit 69193130cae305f0e06c9478d7d16a7c29ac36e9
Author: Francesco Poli (wintermute) <invernomuto at paranoici.org>
Date:   Thu Sep 1 23:51:39 2011 +0200

    force the use of ruby1.8
    
    Until we can support Ruby 1.9.x (see bug #432200), we must force the
    use of Ruby 1.8 through shebangs and dependencies:
    http://wiki.debian.org/Teams/Ruby/Packaging?action=show&redirect=Teams%2FRuby%2FRubyInWheezy#Handling_of_shebangs

diff --git a/apt-listbugs b/apt-listbugs
index 837e294..58d67cb 100755
--- a/apt-listbugs
+++ b/apt-listbugs
@@ -1,4 +1,4 @@
-#!/usr/bin/ruby
+#!/usr/bin/ruby1.8
 #
 # apt-listbugs: retrieves bug reports and lists them
 #
diff --git a/aptcleanup b/aptcleanup
index 44f3baf..65692af 100755
--- a/aptcleanup
+++ b/aptcleanup
@@ -1,4 +1,4 @@
-#!/usr/bin/ruby
+#!/usr/bin/ruby1.8
 #
 # aptcleanup: filters /etc/apt/preferences to unpin packages when bugs are fixed
 #
diff --git a/debian/changelog b/debian/changelog
index 5c8cc2a..0527a9c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+apt-listbugs (0.1.6) UNRELEASED; urgency=low
+
+  * modified shebangs in order to force the use of ruby1.8, until the package
+    supports ruby1.9.x
+
+ -- Francesco Poli (wintermute) <invernomuto at paranoici.org>  Thu, 01 Sep 2011 23:42:01 +0200
+
 apt-listbugs (0.1.5) unstable; urgency=low
 
   * modified the git-tag.sh internal script
diff --git a/debian/control b/debian/control
index c40f16e..3bfd88d 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,7 @@ Vcs-Browser: http://git.debian.org/?p=apt-listbugs/apt-listbugs.git
 
 Package: apt-listbugs
 Architecture: all
-Depends: ${misc:Depends}, ruby (>= 1.8), libruby1.8 (>= 1.8.5), libdpkg-ruby1.8 (>= 0.3.3), apt, libzlib-ruby1.8, libgettext-ruby1.8 (>= 2.1.0), libxml-parser-ruby1.8, libhttpclient-ruby1.8 (>= 2.1.5.2-1)
+Depends: ${misc:Depends}, ruby1.8 (>= 1.8), libruby1.8 (>= 1.8.5), libdpkg-ruby1.8 (>= 0.3.3), apt, libzlib-ruby1.8, libgettext-ruby1.8 (>= 2.1.0), libxml-parser-ruby1.8, libhttpclient-ruby1.8 (>= 2.1.5.2-1)
 Suggests: reportbug, debianutils (>= 2.0) | www-browser | w3m
 Description: tool which lists critical bugs before each apt installation
  apt-listbugs is a tool which retrieves bug reports from the Debian Bug 
diff --git a/examples/from-severity-get-bugtitles-and-pkgnames.rb b/examples/from-severity-get-bugtitles-and-pkgnames.rb
index 9ac1f17..505356d 100755
--- a/examples/from-severity-get-bugtitles-and-pkgnames.rb
+++ b/examples/from-severity-get-bugtitles-and-pkgnames.rb
@@ -1,4 +1,4 @@
-#!/usr/bin/ruby -I/usr/share/apt-listbugs/
+#!/usr/bin/ruby1.8 -I/usr/share/apt-listbugs/
 
 ###
 ### test the relay with get_bugs->get_status.
diff --git a/examples/getbugstest.rb b/examples/getbugstest.rb
index 960cc54..8319461 100755
--- a/examples/getbugstest.rb
+++ b/examples/getbugstest.rb
@@ -1,4 +1,4 @@
-#!/usr/bin/ruby -I/usr/share/apt-listbugs/
+#!/usr/bin/ruby1.8 -I/usr/share/apt-listbugs/
 
 ###
 ### test the get_bugs interface, which returns the bugs matching the key-id pair from the BTS.
diff --git a/examples/listbugs-soap.rb b/examples/listbugs-soap.rb
index 6cb33af..16c91ec 100755
--- a/examples/listbugs-soap.rb
+++ b/examples/listbugs-soap.rb
@@ -1,4 +1,4 @@
-#!/usr/bin/ruby -I/usr/share/apt-listbugs/
+#!/usr/bin/ruby1.8 -I/usr/share/apt-listbugs/
 
 require 'debian/bts'
 require 'debian/btssoap'
diff --git a/examples/minimal-soap.rb b/examples/minimal-soap.rb
index 1fceca0..c26daec 100755
--- a/examples/minimal-soap.rb
+++ b/examples/minimal-soap.rb
@@ -1,4 +1,4 @@
-#!/usr/bin/ruby
+#!/usr/bin/ruby1.8
 # use raw soap interface to create a minimal code that works.
 # 15 Jul 2007: created as an example to paste into http://wiki.debian.org/DebbugsSoapInterface documentation.
 require 'soap/rpc/driver'
diff --git a/test_logic.rb b/test_logic.rb
index 8c81f90..bc3b14d 100755
--- a/test_logic.rb
+++ b/test_logic.rb
@@ -1,4 +1,4 @@
-#!/usr/bin/ruby -Ilib/
+#!/usr/bin/ruby1.8 -Ilib/
 
 require 'test/unit'
 require 'apt-listbugs/logic'

-- 
apt-listbugs development tree



More information about the Apt-listbugs-commits mailing list