[DRE-commits] [ruby-omniauth-openid] 02/05: update packaging with a new `dh-make-ruby -w` run
Antonio Terceiro
terceiro at moszumanska.debian.org
Wed Jul 20 14:04:44 UTC 2016
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository ruby-omniauth-openid.
commit c8df93c8a0fce3cb07dd5f62719536a0e44f42c4
Author: Antonio Terceiro <terceiro at debian.org>
Date: Wed Jul 20 08:12:12 2016 -0300
update packaging with a new `dh-make-ruby -w` run
---
debian/changelog | 1 +
debian/control | 12 +++++++-----
debian/ruby-tests.rake | 8 +++-----
debian/rules | 13 ++-----------
4 files changed, 13 insertions(+), 21 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 8d3bd82..fcbfa3b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ ruby-omniauth-openid (1.0.1-4) UNRELEASED; urgency=medium
* Bump Standards-Version to 3.9.7 (no changes needed)
[ Antonio Terceiro ]
+ * update packaging with a new `dh-make-ruby -w` run
-- Cédric Boutillier <boutil at moszumanska.debian.org> Wed, 20 Jul 2016 08:09:59 -0300
diff --git a/debian/control b/debian/control
index 2de91b5..2a95e1c 100644
--- a/debian/control
+++ b/debian/control
@@ -5,24 +5,26 @@ Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.al
Uploaders: Pirate Praveen <praveen at debian.org>
Build-Depends: debhelper (>= 9),
gem2deb,
- ruby-omniauth,
- ruby-rack-openid,
+ rake,
+ ruby-omniauth (>= 1.0),
ruby-rack-test,
+ ruby-rack-openid (>= 1.3.1),
ruby-rspec,
ruby-safe-yaml,
ruby-webmock
-Standards-Version: 3.9.7
+Standards-Version: 3.9.8
Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-omniauth-openid.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-omniauth-openid.git
Homepage: https://github.com/intridea/omniauth-openid
+Testsuite: autopkgtest-pkg-ruby
XS-Ruby-Versions: all
Package: ruby-omniauth-openid
Architecture: all
XB-Ruby-Versions: ${ruby:Versions}
Depends: ruby | ruby-interpreter,
- ruby-omniauth,
- ruby-rack-openid,
+ ruby-omniauth (>= 1.0),
+ ruby-rack-openid (>= 1.3.1),
${misc:Depends},
${shlibs:Depends}
Description: openid strategy for OmniAuth
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 594f772..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
-#
-# 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-omniauth-openid.git
More information about the Pkg-ruby-extras-commits
mailing list