Package: python3-regex,python-regex-dbg,python3-regex-dbg Version: 0.1.20140216-1 Severity: serious User: debian...@lists.debian.org Usertags: piuparts
Hi, a test with piuparts revealed that your package misses the copyright file after an upgrade, which is a violation of Policy 12.5: http://www.debian.org/doc/debian-policy/ch-docs.html#s-copyrightfile After the upgrade /usr/share/doc/$PACKAGE/ is just an empty directory. This was observed on the following upgrade paths: wheezy -> jessie >From the attached log (scroll to the bottom...): 1m21.7s ERROR: WARN: Inadequate results from running adequate! python3-regex: missing-copyright-file /usr/share/doc/python3-regex/copyright MISSING COPYRIGHT FILE: /usr/share/doc/python3-regex/copyright # ls -lad /usr/share/doc/python3-regex drwxr-xr-x 2 root root 40 Oct 13 07:04 /usr/share/doc/python3-regex # ls -la /usr/share/doc/python3-regex/ total 0 drwxr-xr-x 2 root root 40 Oct 13 07:04 . drwxr-xr-x 123 root root 2640 Oct 13 07:04 .. 1m10.1s ERROR: WARN: Inadequate results from running adequate! python-regex-dbg: missing-copyright-file /usr/share/doc/python-regex-dbg/copyright MISSING COPYRIGHT FILE: /usr/share/doc/python-regex-dbg/copyright # ls -lad /usr/share/doc/python-regex-dbg drwxr-xr-x 2 root root 40 Oct 13 13:40 /usr/share/doc/python-regex-dbg # ls -la /usr/share/doc/python-regex-dbg/ total 0 drwxr-xr-x 2 root root 40 Oct 13 13:40 . drwxr-xr-x 116 root root 2620 Oct 13 13:40 .. 1m10.1s ERROR: WARN: Inadequate results from running adequate! python-regex-dbg: missing-copyright-file /usr/share/doc/python-regex-dbg/copyright MISSING COPYRIGHT FILE: /usr/share/doc/python-regex-dbg/copyright # ls -lad /usr/share/doc/python-regex-dbg drwxr-xr-x 2 root root 40 Oct 13 13:40 /usr/share/doc/python-regex-dbg # ls -la /usr/share/doc/python-regex-dbg/ total 0 drwxr-xr-x 2 root root 40 Oct 13 13:40 . drwxr-xr-x 116 root root 2620 Oct 13 13:40 .. Additional info may be available here: http://wiki.debian.org/MissingCopyrightFile Note that dpkg intentionally does not replace directories with symlinks and vice versa, you need the maintainer scripts to do this. See in particular the end of point 4 in http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-unpackphase It is recommended to use the dpkg-maintscript-helper commands 'dir_to_symlink' and 'symlink_to_dir' (available since dpkg 1.17.2) to perform the conversion, ideally using d/$PACKAGE.mainstscript. See dpkg-maintscript-helper(1) and dh_installdeb(1) for details. cheers, Andreas
python3-regex_0.1.20140216-1+b1.log.gz
Description: application/gzip