[DRE-commits] [gem2deb] 01/03: Fix build with `dpkg-buildpackage -B`

Antonio Terceiro terceiro at moszumanska.debian.org
Sun Jun 12 17:56:33 UTC 2016


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

terceiro pushed a commit to branch master
in repository gem2deb.

commit d38fee0da37714d468f209eb0f729cacd9f59202
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Sun Jun 12 14:24:04 2016 -0300

    Fix build with `dpkg-buildpackage -B`
---
 debian/changelog               | 9 +++++++++
 lib/gem2deb/version.rb         | 2 +-
 test/unit/dh_make_ruby_test.rb | 2 +-
 3 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 9ce9695..ee03272 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+gem2deb (0.30.3) UNRELEASED; urgency=medium
+
+  * test/unit/dh_ruby_test.rb: fix method that gets the list of binary
+    packages from source packages generated in the tests to not be influenced
+    by the dpkg-buildpackage invocation used to build gem2deb
+    (Closes: #826674)
+
+ -- Antonio Terceiro <terceiro at debian.org>  Sun, 12 Jun 2016 14:23:34 -0300
+
 gem2deb (0.30.2) unstable; urgency=medium
 
   [ Antonio Terceiro ]
diff --git a/lib/gem2deb/version.rb b/lib/gem2deb/version.rb
index 345199e..dab054e 100644
--- a/lib/gem2deb/version.rb
+++ b/lib/gem2deb/version.rb
@@ -1,3 +1,3 @@
 module Gem2Deb
-  VERSION = '0.30.2'
+  VERSION = '0.30.3'
 end
diff --git a/test/unit/dh_make_ruby_test.rb b/test/unit/dh_make_ruby_test.rb
index 3398d6c..2db7260 100644
--- a/test/unit/dh_make_ruby_test.rb
+++ b/test/unit/dh_make_ruby_test.rb
@@ -216,7 +216,7 @@ class DhMakeRubyTest < Gem2DebTestCase
   protected
 
   def packages
-    `dh_listpackages`.split
+    `grep-dctrl -n -s Package -F Package '' debian/control`.split
   end
 
 end

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