[DRE-commits] [ruby-minimization] 01/02: Refresh packaging using ruby tools
zeha at debian.org
zeha at debian.org
Tue Jul 5 13:33:19 UTC 2016
This is an automated email from the git hooks/post-receive script.
zeha pushed a commit to branch master
in repository ruby-minimization.
commit 81c3d0c3edc8d176e7215a9514cb77917e72e352
Author: Christian Hofstaedtler <zeha at debian.org>
Date: Tue Jul 5 15:30:43 2016 +0200
Refresh packaging using ruby tools
---
debian/control | 3 ++-
debian/ruby-tests.rake | 8 +++-----
debian/rules | 13 ++-----------
3 files changed, 7 insertions(+), 17 deletions(-)
diff --git a/debian/control b/debian/control
index abafdbe..c906e76 100644
--- a/debian/control
+++ b/debian/control
@@ -8,10 +8,11 @@ Build-Depends: debhelper (>= 9~),
rake,
ruby-rspec,
ruby-text-table
-Standards-Version: 3.9.7
+Standards-Version: 3.9.8
Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-minimization.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-minimization.git
Homepage: http://github.com/clbustos/minimization
+Testsuite: autopkgtest-pkg-ruby
XS-Ruby-Versions: all
Package: ruby-minimization
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index 89a753d..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|
- spec.pattern = './spec/**/*_spec.rb'
+Gem2Deb::Rake::RSpecTask.new do |spec|
+ spec.pattern = './spec/**/*_spec.rb'
end
-
-task :default => :spec
diff --git a/debian/rules b/debian/rules
index a5e7dc8..3454d59 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-minimization.git
More information about the Pkg-ruby-extras-commits
mailing list