[DRE-commits] [ruby-foreman] 05/13: Refresh packaging with a new run of `dh-make-ruby -w`

Antonio Terceiro terceiro at moszumanska.debian.org
Tue Jul 19 14:11:05 UTC 2016


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

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

commit dc05a47eb9f329b756fb52f47c0661789e697838
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Mon Jul 18 19:16:46 2016 -0300

    Refresh packaging with a new run of `dh-make-ruby -w`
---
 debian/changelog         |  1 +
 debian/control           |  4 ++--
 debian/ruby-foreman.docs |  1 +
 debian/ruby-tests.rake   |  6 ++----
 debian/rules             | 12 +-----------
 5 files changed, 7 insertions(+), 17 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 44e54e4..e7ce142 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,7 @@ ruby-foreman (0.82.0-1) UNRELEASED; urgency=medium
   * New upstream release
   * Refresh patches
   * 0002-Port-tests-to-fakefs-0.4.patch: dropped, applied upstream
+  * Refresh packaging with a new run of `dh-make-ruby -w`
 
  -- Antonio Terceiro <terceiro at debian.org>  Mon, 18 Jul 2016 19:07:57 -0300
 
diff --git a/debian/control b/debian/control
index 3db11b2..db343d1 100644
--- a/debian/control
+++ b/debian/control
@@ -14,7 +14,7 @@ Build-Depends: debhelper (>= 9~),
                ruby-thor,
                ruby-timecop,
                yard
-Standards-Version: 3.9.7
+Standards-Version: 3.9.8
 Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-foreman.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-foreman.git
 Homepage: http://github.com/ddollar/foreman
@@ -26,7 +26,7 @@ Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
 Depends: ruby | ruby-interpreter,
          ruby-dotenv,
-         ruby-thor,
+         ruby-thor (>= 0.19.1),
          ${misc:Depends},
          ${shlibs:Depends}
 Suggests: ruby-foreman-doc
diff --git a/debian/ruby-foreman.docs b/debian/ruby-foreman.docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/ruby-foreman.docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index a7fff5c..3e02fbb 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -1,8 +1,6 @@
-require 'rspec/core/rake_task'
+require 'gem2deb/rake/spectask'
 
-RSpec::Core::RakeTask.new(:spec) do |spec|
+Gem2Deb::Rake::RSpecTask.new do |spec|
   spec.pattern = './spec/**/*_spec.rb'
   spec.rspec_opts = '--seed 47932'
 end
-
-task :default => :spec
diff --git a/debian/rules b/debian/rules
index 277e90f..7a3028e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,16 +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
 BINARY_PKG := ruby-foreman
 
 %:

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



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