[DRE-commits] [redmine] 04/04: check that all dependencies are OK at build time

Antonio Terceiro terceiro at moszumanska.debian.org
Fri Jan 22 13:01:23 UTC 2016


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

terceiro pushed a commit to branch master
in repository redmine.

commit 1078c0a417e3d0aa8ab56c583574576b6d28a5fd
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Fri Jan 22 11:00:23 2016 -0200

    check that all dependencies are OK at build time
---
 debian/changelog |  2 ++
 debian/control   | 25 ++++++++++++++++++++++---
 debian/rules     |  4 ++++
 3 files changed, 28 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 0842580..cc451ff 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -19,6 +19,8 @@ redmine (3.2.0-1) UNRELEASED; urgency=medium
   * Suggests: add ruby-fcgi
   * debian/control: move myself to Maintainer:, and move Jérémy Lal
     to Uploaders:
+  * List runtime dependencies as build dependencies as well, and check that
+    all dependencies are OK at build time.
 
  -- Antonio Terceiro <terceiro at debian.org>  Fri, 22 Jan 2016 10:46:36 -0200
 
diff --git a/debian/control b/debian/control
index e788ffd..4f182f2 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,26 @@ Priority: extra
 Maintainer: Antonio Terceiro <terceiro at debian.org>
 Uploaders: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>,
            Jérémy Lal <kapouer at melix.org>
-Build-Depends: debhelper (>= 9)
+Build-Depends: bundler,
+         dbconfig-common,
+         debhelper (>= 9),
+         ruby | ruby-interpreter,
+         ruby-actionpack-action-caching,
+         ruby-awesome-nested-set,
+         ruby-coderay (>= 1.0.6),
+         ruby-i18n (>= 0.6.9-1~),
+         ruby-jquery-rails,
+         ruby-mime-types (>= 1.25),
+         ruby-net-ldap (>= 0.3.1),
+         ruby-openid,
+         ruby-protected-attributes,
+         ruby-rack (>= 1.4.5~),
+         ruby-rack-openid,
+         ruby-rails (>= 2:4),
+         ruby-rails-observers,
+         ruby-redcarpet,
+         ruby-request-store,
+         ruby-rmagick,
 Build-Depends-Indep: po-debconf
 Standards-Version: 3.9.6
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/redmine.git
@@ -17,7 +36,6 @@ Architecture: all
 Pre-Depends: debconf
 Depends: bundler,
          dbconfig-common,
-         redmine-sqlite | redmine-mysql | redmine-pgsql,
          ruby | ruby-interpreter,
          ruby-actionpack-action-caching,
          ruby-awesome-nested-set,
@@ -35,7 +53,8 @@ Depends: bundler,
          ruby-redcarpet,
          ruby-request-store,
          ruby-rmagick,
-         ${misc:Depends}
+         redmine-sqlite | redmine-mysql | redmine-pgsql,
+         ${misc:Depends},
 Breaks: redmine-plugin-botsfilter (<=1.02-2),
         redmine-plugin-recaptcha (<=0.1.0+git20121018)
 Recommends: passenger
diff --git a/debian/rules b/debian/rules
index 32b1bed..8e75357 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,10 @@
 %:
 	dh $@
 
+override_dh_auto_configure:
+	bundle --local --quiet
+	rm -f Gemfile.lock
+
 override_dh_install:
 	dh_install
 

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



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