[libpdl-stats-perl] 02/12: Use dh_pdl to set versioned pdl dependency via ${pdl:Depends}.

Bas Couwenberg sebastic at debian.org
Thu Jun 16 20:38:04 UTC 2016


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

sebastic pushed a commit to branch master
in repository libpdl-stats-perl.

commit aa988596280e9464820c039466f4e44db5462b46
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Thu Jun 16 22:02:49 2016 +0200

    Use dh_pdl to set versioned pdl dependency via ${pdl:Depends}.
---
 debian/changelog | 1 +
 debian/control   | 2 +-
 debian/rules     | 5 +++++
 3 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 0c85857..f6d16cf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -20,6 +20,7 @@ libpdl-stats-perl (0.74-1) UNRELEASED; urgency=medium
 
   [ Bas Couwenberg ]
   * Add gbp.conf to use pristine-tar by default.
+  * Use dh_pdl to set versioned pdl dependency via ${pdl:Depends}.
 
  -- gregor herrmann <gregoa at debian.org>  Sun, 06 Dec 2015 15:01:15 +0100
 
diff --git a/debian/control b/debian/control
index 0a13275..944315e 100644
--- a/debian/control
+++ b/debian/control
@@ -18,7 +18,7 @@ Architecture: any
 Depends: ${misc:Depends},
          ${perl:Depends},
          ${shlibs:Depends},
-         pdl (>= 1:2.008)
+         ${pdl:Depends}
 Description: collection of statistics modules in Perl Data Language
  This package provides several statistical Perl module:
   * PDL::GSL::CDF       PDL interface to GSL Cumulative Distribution Functions
diff --git a/debian/rules b/debian/rules
index 2d33f6a..1161071 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,3 +2,8 @@
 
 %:
 	dh $@
+
+override_dh_perl:
+	dh_perl
+	dh_pdl
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libpdl-stats-perl.git



More information about the Pkg-perl-cvs-commits mailing list