DOKK / manpages / debian 11 / pkg-perl-tools / dpt-packagecheck.1.en
dpt-packagecheck(1) Debian Perl packaging Tools dpt-packagecheck(1)

dpt-packagecheck -- check package source for group policy consistency

dpt packagecheck -c check-option...

dpt packagecheck -p package top-directory check-option...

dpt packagecheck performs various checks of package sources and tries to correct them in accordance with the policies of the Debian Perl Group.

dpt packagecheck can operate either on a single package, or on all packages maintained by the group.

To run the checks on all group packages, use the -c option with working directory containing packages/ directory.

To run the checks on individual package, use -p package top-directory, where top-directory is the directory containing the packages/ directory.

If the -a option is given, changes are committed to the repository by calling "mr commit".

If the -n option is given, no changes are committed.

If neither option is given, dpt packagecheck asks for confirmation before calling "mr commit".

Note that "mr commit" also pushes the changes to the remote repository.

Run all the checks.
Add/fix "Vcs-Git" and "Vcs-Browser" fields in debian/control and remove "XS-Vcs-(Svn|Git|Browser)" fields.
Add "Homepage" field to debian/control and remove "Homepage" pseudo-field.
Check the "Maintainer" field of debian/control and make sure it is "Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>".
debian/control: add "${misc:Depends}" to "Depends".
debian/copyright: Substitute "Format-Specification" URL for DEP-5 revisions to anonscm.debian.org URL.
debian/control: substitute occurrences of dependencies like "perl (>= 5.6.0-{12,16})" with dependencies on "perl" without a version.
debian/control: replace "perl-modules" with "perl"
debian/watch: change CPAN URLs to <https://metacpan.org/release/Mod-Ule> and update to ignore developer releases
If -W is given, create debian/watch if it does not exist
debian/rules: rmdir /usr/\{lib,share\}/perl5 only if they exist; switch "dh --with foo \$@" to "dh \$@ --with foo"
add debian/README.source pointing to quilt(1)'s README.source if the package uses quilt

Released under the terms of the GNU GPL version 2

2021-03-27 pkg-perl-tools 0.64