[DRE-commits] [ruby-solve] 03/06: Update Debian packaging using dh-make-ruby

Sebastien Badia sbadia-guest at moszumanska.debian.org
Thu Mar 3 15:17:00 UTC 2016


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

sbadia-guest pushed a commit to branch master
in repository ruby-solve.

commit 9df4c43dbc6ff1e7deae65cc3bea5f97dd34a598
Author: Sebastien Badia <seb at sebian.fr>
Date:   Wed Mar 2 17:20:12 2016 -0300

    Update Debian packaging using dh-make-ruby
---
 debian/ruby-tests.rake |  6 ++----
 debian/rules           | 16 ++--------------
 2 files changed, 4 insertions(+), 18 deletions(-)

diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index dcc1601..cf1591e 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -1,7 +1,5 @@
-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'
 end
-
-task :default => :spec
diff --git a/debian/rules b/debian/rules
index 57b4299..3454d59 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,18 +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=ruby2.1
-#
-# If you need to specify the .gemspec (eg there is more than one)
-#export DH_RUBY_GEMSPEC=gem.gemspec
-#
-# Uncomment to check dependencies during build:
-# export GEM2DEB_TEST_RUNNER = --check-dependencies
+
+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-solve.git



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