[DRE-commits] [ruby-thinking-sphinx] 02/02: Update packaging using dh-make-ruby -w

zeha at debian.org zeha at debian.org
Thu Mar 3 14:29:28 UTC 2016


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

zeha pushed a commit to branch master
in repository ruby-thinking-sphinx.

commit 793b31ca55e13f1de4905e0844f53959d7fbf9b6
Author: Christian Hofstaedtler <zeha at debian.org>
Date:   Thu Mar 3 15:14:24 2016 +0100

    Update packaging using dh-make-ruby -w
---
 debian/control         | 20 ++++++++++----------
 debian/ruby-tests.rake |  8 +++-----
 debian/rules           | 14 ++------------
 3 files changed, 15 insertions(+), 27 deletions(-)

diff --git a/debian/control b/debian/control
index 41fe7cb..b5a2453 100644
--- a/debian/control
+++ b/debian/control
@@ -10,23 +10,23 @@ Build-Depends: debhelper (>= 9~),
                ruby-combustion,
                ruby-database-cleaner,
                ruby-rspec
-Standards-Version: 3.9.6
-Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-thinking-sphinx.git
-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-thinking-sphinx.git;a=summary
+Standards-Version: 3.9.7
+Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-thinking-sphinx.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-thinking-sphinx.git
 Homepage: https://pat.github.io/thinking-sphinx/
-Testsuite: autopkgtest
+Testsuite: autopkgtest-pkg-ruby
 XS-Ruby-Versions: all
 
 Package: ruby-thinking-sphinx
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
 Depends: ruby | ruby-interpreter,
-         ruby-activerecord,
-         ruby-builder,
-         ruby-innertube,
-         ruby-joiner,
-         ruby-middleware,
-         ruby-riddle,
+         ruby-activerecord (>= 3.1.0),
+         ruby-builder (>= 2.1.2),
+         ruby-innertube (>= 1.0.2),
+         ruby-joiner (>= 0.2.0),
+         ruby-middleware (>= 0.1.0),
+         ruby-riddle (>= 1.5.11),
          ${misc:Depends},
          ${shlibs:Depends}
 Description: smart wrapper over sphinx for activerecord
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index 99987ae..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 be53252..b62e92e 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=ruby2.1 require-rubygems
-export DH_RUBY_IGNORE_TESTS=ruby2.2
-#
-# If you need to specify the .gemspec (eg there is more than one)
-#export DH_RUBY_GEMSPEC=gem.gemspec
+export DH_RUBY_IGNORE_TESTS=all
+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-thinking-sphinx.git



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