lintian is not approving what dh_compress does?
I am trying to package TkMan for woody and have encountered a problem with
lintain:
[01:21:04 tkman-2.1b3]$ lintian -i ../tkman_2.1b3-1_i386.changes
E: tkman: manpage-not-compressed-with-gzip usr/share/man/man1/tkman.1.gz
N:
N: Manual pages should be compressed with gzip -9.
N:
N: Please check out Policy Manual, section 6.1 for details.
N:
E: tkman: manpage-not-compressed-with-gzip usr/share/man/man1/retkman.1.gz
E: tkman: changelog-not-compressed-with-max-compression
N:
N: Any changelog files must be compressed using `gzip -9'.
N:
N: Refer to Policy Manual, section 6.8 for details.
N:
E: tkman: changelog-not-compressed-with-max-compression
[01:21:48 tkman-2.1b3]$
However compression matters are handled by debian/rules with dh_compress.
Is this a bug with lintain and/or dh_compress?
[01:21:48 tkman-2.1b3]$ ls debian/tmp/usr/share/man/man1/
retkman.1.gz tkman.1.gz
[01:35:32 tkman-2.1b3]$ ls debian/tmp/usr/share/doc/tkman/changelog.*
debian/tmp/usr/share/doc/tkman/changelog.Debian.gz
debian/tmp/usr/share/doc/tkman/changelog.gz
[01:36:20 tkman-2.1b3]$
BTW: How does lintian knows whether or not max-compression (-9) was used? Does
it tries to compress the files by itself and then compares the result to what
the package includes?
And a somewhat not related question: What about compressing man pages with
bzip2?
--
Shaul Karl shaulk@israsrv.net.il
An elephant is a mouse with an operating system.
Reply to: