Bug#830801: /usr/bin/wrap-and-sort: wrap-and-sort incorrectly wraps debian/package.doc-base.*

Stuart Prescott stuart at debian.org
Mon Jul 11 17:09:03 UTC 2016


Package: devscripts
Version: 2.16.6
Severity: normal
User: devscripts at packages.debian.org
Usertags: wrap-and-sort

dh_installdocs permits packages to ship several doc-base entries to be included,
where the filename pattern to be used is debian/package.doc-base.* as defined
in dh_installdocs(1).

wrap-and-sort does not actively try to touch doc-base files (which is correct)
but the globs that are used to identify supported file types do not prevent it
from touching doc-base files that accidentally match some other glob for a
supported file type. In the case I found, I had created a doc-base entry for a
set of examples that was, quite sensibly, called

    debian/python3-pyx-doc.doc-base.examples

This control file is for doc-base not for dh_installexamples (which must be
called debian/package.examples). wrap-and-sort should not try to destroyed
this file by incorrectly sorting its fields.

cheers
Stuart



More information about the devscripts-devel mailing list