[DRE-commits] [ruby-rspec-retry] 05/07: Update packaging with a new dh-make-ruby run

Antonio Terceiro terceiro at moszumanska.debian.org
Sat Aug 8 12:56:31 UTC 2015


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

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

commit bf2bed1f7527ba57f866bf62d74057f634460d53
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Sat Aug 8 09:53:31 2015 -0300

    Update packaging with a new dh-make-ruby run
---
 debian/changelog            |  1 +
 debian/control              | 16 ++++++++++++----
 debian/ruby-tests.rake      |  8 ++++----
 debian/rules                |  2 ++
 debian/source/local-options |  1 -
 5 files changed, 19 insertions(+), 9 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 770a66f..c005ad8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ ruby-rspec-retry (0.4.2-1) UNRELEASED; urgency=medium
   * New upstream release
     - fixes the test suite (Closes: #794135)
   * Refresh patches
+  * Update packaging with a new dh-make-ruby run
 
  -- Antonio Terceiro <terceiro at debian.org>  Sat, 08 Aug 2015 09:46:52 -0300
 
diff --git a/debian/control b/debian/control
index 6f17b25..de9ac6e 100644
--- a/debian/control
+++ b/debian/control
@@ -3,17 +3,25 @@ Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: Jérémy Bobbio <lunar at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~), ruby-rspec, rake
-Standards-Version: 3.9.5
+Build-Depends: debhelper (>= 7.0.50~),
+               gem2deb,
+               rake,
+               ruby-rspec,
+               ruby-rspec-core
+Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-rspec-retry.git
-Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-rspec-retry.git;a=summary
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-rspec-retry.git
 Homepage: https://github.com/y310/rspec-retry
+Testsuite: autopkgtest-pkg-ruby
 XS-Ruby-Versions: all
 
 Package: ruby-rspec-retry
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-rspec
+Depends: ruby | ruby-interpreter,
+         ruby-rspec-core,
+         ${misc:Depends},
+         ${shlibs:Depends}
 Description: add support for retrying failing examples in RSpec
  RSpec is a Behaviour Driven Development framework for Ruby. This extension
  adds a `:retry` option to RSpec examples that will make RSpec retry multiple
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index 70a846d..cf1591e 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -1,5 +1,5 @@
-require 'rspec/core/rake_task'
+require 'gem2deb/rake/spectask'
 
-RSpec::Core::RakeTask.new(:spec)
-
-task :default => :spec
+Gem2Deb::Rake::RSpecTask.new do |spec|
+  spec.pattern = './spec/**/*_spec.rb'
+end
diff --git a/debian/rules b/debian/rules
index c6142f6..3454d59 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,6 @@
 #!/usr/bin/make -f
 
+export GEM2DEB_TEST_RUNNER = --check-dependencies
+
 %:
 	dh $@ --buildsystem=ruby --with ruby
diff --git a/debian/source/local-options b/debian/source/local-options
deleted file mode 100644
index 4aceb10..0000000
--- a/debian/source/local-options
+++ /dev/null
@@ -1 +0,0 @@
-unapply-patches

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



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