[DRE-commits] [ruby-diff-lcs] 03/04: update packaging with dh-make-ruby -w

Cédric Boutillier boutil at moszumanska.debian.org
Wed Aug 12 11:45:37 UTC 2015


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

boutil pushed a commit to branch master
in repository ruby-diff-lcs.

commit 0f4aa1160b1e3900910988b0b8d80dce59200d9e
Author: Cédric Boutillier <boutil at debian.org>
Date:   Wed Aug 12 13:38:06 2015 +0200

    update packaging with dh-make-ruby -w
---
 debian/control         | 11 ++++++++---
 debian/ruby-tests.rake |  8 +++-----
 debian/rules           |  5 ++++-
 3 files changed, 15 insertions(+), 9 deletions(-)

diff --git a/debian/control b/debian/control
index 9f56de5..b3e6f97 100644
--- a/debian/control
+++ b/debian/control
@@ -3,8 +3,11 @@ Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: Lucas Nussbaum <lucas at debian.org>, Cédric Boutillier <boutil at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~), ruby-rspec, rake
-Standards-Version: 3.9.5
+Build-Depends: debhelper (>= 7.0.50~),
+               gem2deb,
+               rake,
+               ruby-rspec
+Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-diff-lcs.git
 Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-diff-lcs.git;a=summary
 Homepage: https://github.com/halostatue/diff-lcs
@@ -13,7 +16,9 @@ XS-Ruby-Versions: all
 Package: ruby-diff-lcs
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
+Depends: ruby | ruby-interpreter,
+         ${misc:Depends},
+         ${shlibs:Depends}
 Description: McIlroy-Hunt longest common subsequence algorithm implementation
  Diff::LCS is a port of Algorithm::Diff that uses the McIlroy-Hunt
  longest common subsequence (LCS) algorithm to compute intelligent
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index b0bf936..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 e8e32a6..761a2da 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,10 +6,13 @@
 #
 # 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
+#export DH_RUBY_IGNORE_TESTS=ruby2.1 ruby2.2
 #
 # 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
 
 %:
 	dh $@ --buildsystem=ruby --with ruby

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-diff-lcs.git



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