[DRE-commits] [ruby-kaminari] 02/02: check gemspec dependencies

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Fri Jul 8 19:15:24 UTC 2016


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

praveen pushed a commit to branch master
in repository ruby-kaminari.

commit 9d007bf58b73db5351e377c8ed3564a3fbc3457e
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Sat Jul 9 00:30:15 2016 +0530

    check gemspec dependencies
---
 debian/changelog |  3 ++-
 debian/control   |  8 +++++---
 debian/rules     | 13 ++-----------
 3 files changed, 9 insertions(+), 15 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 97123b5..29090c4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 ruby-kaminari (0.17.0-2) unstable; urgency=medium
 
-  * Reupload to unstable 
+  * Reupload to unstable
+  * Check gemspec dependencies during build
 
  -- Pirate Praveen <praveen at debian.org>  Sat, 09 Jul 2016 00:22:27 +0530
 
diff --git a/debian/control b/debian/control
index 798715f..d8954d9 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,9 @@ 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 (>= 9~),
-               gem2deb
+               gem2deb,
+               ruby-activesupport (>= 3.0.0~),
+               ruby-actionpack (>= 3.0.0~)
 Standards-Version: 3.9.8
 Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-kaminari.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-kaminari.git
@@ -16,8 +18,8 @@ Package: ruby-kaminari
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
 Depends: ruby | ruby-interpreter,
-         ruby-actionpack,
-         ruby-activesupport,
+         ruby-actionpack (>= 3.0.0~),
+         ruby-activesupport (>= 3.0.0~),
          ${misc:Depends},
          ${shlibs:Depends}
 Description: pagination engine plugin for Rails 3+ and other modern frameworks
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-kaminari.git



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