Bug#819537: Add a "--distribution" parameter

Martin Gerhard Loschwitz m.loschwitz at syseleven.de
Wed Mar 30 08:28:01 UTC 2016


Package: java-package
Version: 0.61
Tags: Patch

Currently, there is no way to specify the target distribution of a package created
using "make-jpkg" as the distribution is hardcoded to "unstable" in the source of
java-package.

It may, however, be desirable to specify the target distribution. Non-official repos
using tools such as reprepro are often organized internally based on the names
of the supported distributions ("stable", "sid" or "xenial"). When uploading to such
repos, packages made by make-jpkg will not be processed due to a mismatch in
the name of the target distribution.

The attached patch adds the desired functionality by adding a parameter named
"--distribution". If the parameter is specified, the value of it will be used as target
distribution in the changelog of the resulting package. If the parameter is unset,
"unstable" will be used, imitating the default behavior until now.

Thanks,
Martin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-java-package-distribution.patch
Type: application/octet-stream
Size: 3112 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20160330/202b4766/attachment.obj>
-------------- next part --------------



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20160330/202b4766/attachment.sig>


More information about the pkg-java-maintainers mailing list