[DRE-commits] [ruby-bunny] 02/08: update packaging with `dh-make-ruby -w`

Antonio Terceiro terceiro at moszumanska.debian.org
Sat Dec 10 15:55:17 UTC 2016


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

terceiro pushed a commit to branch master
in repository ruby-bunny.

commit 695b15148eba8a0ab9985b6ff967e482f7b4d3bb
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Sat Dec 10 10:46:48 2016 -0200

    update packaging with `dh-make-ruby -w`
---
 debian/changelog       | 13 +++++++++++++
 debian/control         | 11 +++++++----
 debian/ruby-tests.rake |  5 +++++
 debian/ruby-tests.rb   |  2 --
 debian/rules           | 13 ++-----------
 5 files changed, 27 insertions(+), 17 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 741ca68..9f6ff75 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,16 @@
+ruby-bunny (2.6.1-1) UNRELEASED; urgency=medium
+
+  [ Cédric Boutillier ]
+  * Bump debhelper compatibility level to 9
+  * Remove version in the gem2deb build-dependency
+  * Use https:// in Vcs-* fields
+
+  [ Antonio Terceiro ]
+  * New upstream version 2.6.1
+  * update packaging with `dh-make-ruby -w`
+
+ -- Cédric Boutillier <boutil at moszumanska.debian.org>  Sat, 10 Dec 2016 10:45:53 -0200
+
 ruby-bunny (1.1.2-1) unstable; urgency=low
 
   * Team upload.
diff --git a/debian/control b/debian/control
index fe29c7a..10d123e 100644
--- a/debian/control
+++ b/debian/control
@@ -6,18 +6,21 @@ Uploaders: Bryan McLellan <btm at loftninjas.org>,
            Praveen Arimbrathodiyil <pravi.a at gmail.com>
 Build-Depends: debhelper (>= 9~),
                gem2deb,
-               ruby-amq-protocol (>> 1.9.2-1~)
-Standards-Version: 3.9.7
+               rake,
+               ruby-amq-protocol (>= 2.0.1),
+               ruby-rspec
+Standards-Version: 3.9.8
 Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-bunny.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-bunny.git
-Homepage: http://github.com/ruby-amqp/bunny
+Homepage: http://rubybunny.info
+Testsuite: autopkgtest-pkg-ruby
 XS-Ruby-Versions: all
 
 Package: ruby-bunny
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
 Depends: ruby | ruby-interpreter,
-         ruby-amq-protocol (>> 1.9.2-1~),
+         ruby-amq-protocol (>= 2.0.1),
          ${misc:Depends},
          ${shlibs:Depends}
 Description: Synchronous Ruby AMQP client
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..cf1591e
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,5 @@
+require 'gem2deb/rake/spectask'
+
+Gem2Deb::Rake::RSpecTask.new do |spec|
+  spec.pattern = './spec/**/*_spec.rb'
+end
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
deleted file mode 100644
index e83aa08..0000000
--- a/debian/ruby-tests.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-# basic testing only, spec/ tests needs running RabbitMQ server
-require 'bunny'
diff --git a/debian/rules b/debian/rules
index 21df6a3..57e815a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,15 +1,6 @@
 #!/usr/bin/make -f
-#export DH_VERBOSE=1
-#
-# Uncomment to ignore all test failures (but the tests will run anyway)
-#export DH_RUBY_IGNORE_TESTS=all
-#
-# Uncomment to ignore some test failures (but the tests will run anyway).
-# Valid values:
-#export DH_RUBY_IGNORE_TESTS=ruby1.8 ruby1.9.1 require-rubygems
-#
-# If you need to specify the .gemspec (eg there is more than one)
-#export DH_RUBY_GEMSPEC=gem.gemspec
+
+export GEM2DEB_TEST_RUNNER = --check-dependencies
 
 %:
 	dh $@ --buildsystem=ruby --with ruby

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-bunny.git



More information about the Pkg-ruby-extras-commits mailing list