From f1bf29e0653b39e68953ec170854da39bd57a2dc Mon Sep 17 00:00:00 2001 From: Michael Prokop <mprokop@sipwise.com> Date: Fri, 28 Jun 2013 16:04:59 +0200 Subject: [PATCH] Add perl modules to depends Usage of ${perl:Depends} as documented at http://www.debian.org/doc/packaging-manuals/perl-policy/ch-module_packages.html#s-module_deps is misleading: it's *not* about perl module dependencies, but instead: | The program will look at Perl scripts and modules in your package, and will use this | information to generate a dependency on perl or perlapi. So we've to hardcode the list of Debian packages we require for runtime. --- debian/control | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/debian/control b/debian/control index 26bf29c..e7d7bc1 100644 --- a/debian/control +++ b/debian/control @@ -1,5 +1,5 @@ Source: libsipwise-base-perl -Section: admin +Section: perl Priority: extra Maintainer: Sipwise Development Team <support@sipwise.com> Build-Depends: debhelper (>= 8), @@ -12,6 +12,11 @@ Homepage: http://sipwise.com/ Package: libsipwise-base-perl Architecture: all -Depends: ${misc:Depends}, ${perl:Depends} +Depends: libmoosex-method-signatures-perl, + libperl5i-perl, + libstrictures-perl, + libtrycatch-perl, + ${misc:Depends}, + ${perl:Depends} Description: Perl module Sipwise::Base TODO