[DRE-commits] [ruby-buff-ignore] 02/05: Update packaging using dh-make-ruby -w
zeha at debian.org
zeha at debian.org
Thu Mar 3 19:16:56 UTC 2016
This is an automated email from the git hooks/post-receive script.
zeha pushed a commit to annotated tag debian/1.1.1-2
in repository ruby-buff-ignore.
commit 809b4301e779bc63e9781d42b9347b5eeafc4125
Author: Christian Hofstaedtler <zeha at debian.org>
Date: Thu Mar 3 19:41:45 2016 +0100
Update packaging using dh-make-ruby -w
---
debian/control | 10 ++++++----
debian/ruby-tests.rake | 7 ++-----
debian/rules | 13 ++-----------
3 files changed, 10 insertions(+), 20 deletions(-)
diff --git a/debian/control b/debian/control
index a263383..d706665 100644
--- a/debian/control
+++ b/debian/control
@@ -4,13 +4,15 @@ Priority: optional
Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
Uploaders: Miguel Landaeta <nomadium at debian.org>
Build-Depends: debhelper (>= 9~),
- gem2deb (>= 0.7.5~),
+ gem2deb,
+ rake,
ruby-rspec,
spork
-Standards-Version: 3.9.6
-Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-buff-ignore.git
-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-buff-ignore.git
+Standards-Version: 3.9.7
+Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-buff-ignore.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-buff-ignore.git
Homepage: https://github.com/sethvargo/buff-ignore
+Testsuite: autopkgtest-pkg-ruby
XS-Ruby-Versions: all
Package: ruby-buff-ignore
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index b48f805..cf1591e 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -1,8 +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 d81794d..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=ruby2.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-buff-ignore.git
More information about the Pkg-ruby-extras-commits
mailing list