Bug#848337: dh-make-perl: Require user intervention to resolve version ambiguity

Christopher Hoskin christopher.hoskin at gmail.com
Fri Dec 16 11:39:47 UTC 2016


Package: dh-make-perl
Version: 0.92
Severity: normal
Tags: patch

Dear Maintainer,

Upstream developers sometimes upload Perl modules to CPAN, forgetting to update
the version in the META, Build or Makefile. In these situations, dh-make-perl 
ignores the CPAN version and trusts the META.yml version, without making the 
packager aware of the discrepancy. Examples of upstream modules where this has
happened are Cache::Memcached::libmemcached and Catalyst::View::CSV.

The attached patch causes dh-make-perl to quit if the module version does not
match the CPAN version, and requires the user to explicity specify the version
with --version.

This reduces the likelihood of the packager uploading a package with a version
number which does not correspond to the actual upstream version.

Thanks.

Christopher Hoskin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Require-user-intervention-to-resolve-version-ambigui.patch
Type: text/x-diff
Size: 1179 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20161216/8105bea2/attachment.patch>


More information about the pkg-perl-maintainers mailing list