The following commit has been merged in the master branch: commit b09222c5ee8e3087e7509709abcf8a38b4c7f29d Author: Raphael Geissert <atom...@gmail.com> Date: Mon Apr 12 20:56:13 2010 -0500
Check for correct versioned build-dependencies for dh_ocaml* * checks/rules: + [RG] Warn about missing versioned build dependencies for ocaml-related packages. (Closes: #567949) diff --git a/checks/rules b/checks/rules index dd0bb74..358db41 100644 --- a/checks/rules +++ b/checks/rules @@ -57,6 +57,8 @@ our @GLOBAL_CLEAN_DEPENDS = # Build-Depends-Indep as appropriate; and optional tags as above. my @GLOBAL_DEPENDS = ( + [ 'debhelper (>= 7.1.0~)' => qr'^\t\s*dh_ocaml\s+.*--(?:runtime-map|no-defined-map|checksum)' ], + [ 'dh-ocaml (>= 0.9~), ocaml-nox (>= 3.11.1-3~)' => qr'^\t\s*dh_ocaml(?:init|doc)\s' ], [ $PYTHON_DEPEND => qr'^\t\s*dh_python\s', 'missing-dh_python-build-dependency' ], [ 'python-central' => qr'^\t\s*dh_pycentral\s' ], [ 'python-support' => qr'^\t\s*dh_pysupport\s' ], @@ -71,6 +73,7 @@ my @RULE_CLEAN_DEPENDS = ( [ 'ant | ant1.7' => qr'^\t\s*(\S+=\S+\s+)*ant\s' ], [ debhelper => qr'^\t\s*dh_.+' ], + [ 'dh-ocaml (>= 0.9~), ocaml-nox (>= 3.11.1-3~) ' => qr'^\t\s*(?:dh_ocamlinit|dh\s.*--with\s+(?:\S+,)*ocaml)\s' ], [ dpatch => qr'^\t\s*(\S+=\S+\s+)*dpatch\s' ], [ "po-debconf" => qr'^\t\s*debconf-updatepo\s' ], [ $PYTHON_DEPEND => qr'^\t\s*python\s', 'missing-python-build-dependency' ], diff --git a/debian/changelog b/debian/changelog index e88a9c2..4be7cd7 100755 --- a/debian/changelog +++ b/debian/changelog @@ -57,6 +57,9 @@ lintian (2.4.0) UNRELEASED; urgency=low looking for things like non-maintainer upload notes at the start of the changelog entry. Patch from Gunnar Wolf. Thanks, Vincent Danjean. (Closes: #575192) + * checks/rules: + + [RG] Warn about missing versioned build dependencies for + ocaml-related packages. (Closes: #567949) * checks/scripts: + [RA] Track local diversions like other diversions for the purposes of checking for orphans and diversions of unknown files. Partly -- Debian package checker -- To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/e1o1x8u-0006le...@alioth.debian.org