Subject: | Add possibility to set only parts of the version |
Currently it's only possible to set the complete version of the generated package:
dh-make-perl --cpan Foo::Bar --build --version "0.01-1+deb9u1"
Often there's only the need to set only backmost part of the version (e.g. to indicate that the package is only for a specific debian version). However, the front part is determined from the currently available CPAN version, which is usually automatically determined and set by dh-make-perl. By using --version there's no possibility to get this automatically determined version.
A possibility would be to introduce an option like --version-suffix, which would be used like this:
dh-make-perl --cpan Foo::Bar --build --version-suffix "1+deb9u1"
In this case the "0.01-" would be prepended automatically to the final version.