[DRE-commits] [ruby-database-cleaner] 03/07: Update packaging with a new dh-make-ruby run

Antonio Terceiro terceiro at moszumanska.debian.org
Tue Jan 26 16:27:53 UTC 2016


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

terceiro pushed a commit to branch master
in repository ruby-database-cleaner.

commit 484d0619e6c779531ccdd5c785f590c5e78a91c8
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Tue Jan 26 14:02:24 2016 -0200

    Update packaging with a new dh-make-ruby run
---
 debian/changelog       |  1 +
 debian/compat          |  2 +-
 debian/control         | 34 ++++++++++++++++++----------------
 debian/ruby-tests.rake |  5 +++++
 debian/rules           | 13 ++-----------
 5 files changed, 27 insertions(+), 28 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 87602a1..771e05c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 ruby-database-cleaner (1.5.1-1) UNRELEASED; urgency=medium
 
   * New upstream release
+  * Update packaging with a new dh-make-ruby run
 
  -- Antonio Terceiro <terceiro at debian.org>  Tue, 26 Jan 2016 13:58:24 -0200
 
diff --git a/debian/compat b/debian/compat
index 7f8f011..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-7
+9
diff --git a/debian/control b/debian/control
index ed482cd..a237356 100644
--- a/debian/control
+++ b/debian/control
@@ -2,23 +2,25 @@ Source: ruby-database-cleaner
 Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
-Uploaders: Pirate Praveen <praveen at debian.org>
-Build-Depends: debhelper (>= 7.0.50~),
- gem2deb (>= 0.7.5~),
- ruby-rspec,
- ruby-activerecord,
- ruby-mysql,
- ruby-mysql2,
- ruby-sequel,
- ruby-sqlite3,
- ruby-pg,
- ruby-redis,
- redis-server,
- procps
+Uploaders: Antonio Terceiro <terceiro at debian.org>
+Build-Depends: debhelper (>= 9~),
+               gem2deb,
+               rake,
+               ruby-rspec,
+               ruby-activerecord,
+               ruby-mysql,
+               ruby-mysql2,
+               ruby-sequel,
+               ruby-sqlite3,
+               ruby-pg,
+               ruby-redis,
+               redis-server,
+               procps
 Standards-Version: 3.9.6
-Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-database-cleaner.git
-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-database-cleaner.git;a=summary
-Homepage: http://github.com/bmabey/database_cleaner
+Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-database-cleaner.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-database-cleaner.git
+Homepage: http://github.com/DatabaseCleaner/database_cleaner
+Testsuite: autopkgtest-pkg-ruby
 XS-Ruby-Versions: all
 
 Package: ruby-database-cleaner
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..cf1591e
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,5 @@
+require 'gem2deb/rake/spectask'
+
+Gem2Deb::Rake::RSpecTask.new do |spec|
+  spec.pattern = './spec/**/*_spec.rb'
+end
diff --git a/debian/rules b/debian/rules
index 490d294..e63c4b3 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.0 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-database-cleaner.git



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