Bug#802964: lintian: mentions-deprecated-usr-lib-perl5-directory check should skip debian/patches
Package: lintian
Version: 2.5.38
Severity: wishlist
Hi,
lintian reports for man2html:
X: man2html source: mentions-deprecated-usr-lib-perl5-directory 010-aux-debian.patch
which refers to debian patch that actually removes usage of /usr/lib/perl5 from
some upstream file:
$ grep -A 4 usr/lib/perl5 010-aux-debian.patch
- <LI><TT>-M /usr/man:/usr/X11R6/man:/usr/lib/perl5/man find</TT>
- <LI><TT>/local/gcc/man/man1/gperf.1</TT>
+ <LI><TT>-M /usr/share/man:/opt/man:/usr/local/share/man find</TT>
+ <LI><TT>/usr/share/man/man1/gperf.1</TT>
</UL>
In my opinion lintian either should skip checking patches or should
check the lines added in the patch (i.e. those starting with +).
Regards,
robert
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (990, 'unstable'), (200, 'testing')
Architecture: i386 (i686)
Kernel: Linux 4.2.0-1-686-pae (SMP w/1 CPU core)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages lintian depends on:
ii binutils 2.25.1-7
ii bzip2 1.0.6-8
ii diffstat 1.60-1
ii file 1:5.25-2
ii gettext 0.19.6-1
ii hardening-includes 2.7
ii intltool-debian 0.35.0+20060710.4
ii libapt-pkg-perl 0.1.29+b3
ii libarchive-zip-perl 1.53-1
ii libclass-accessor-perl 0.34-1
ii libclone-perl 0.38-1
ii libdpkg-perl 1.18.3
ii libemail-valid-perl 1.197-1
ii libfile-basedir-perl 0.07-1
ii libipc-run-perl 0.94-1
ii liblist-moreutils-perl 0.413-1
ii libparse-debianchangelog-perl 1.2.0-8
ii libtext-levenshtein-perl 0.13-1
ii libtimedate-perl 2.3000-2
ii liburi-perl 1.69-1
ii man-db 2.7.4-1
ii patchutils 0.3.4-1
ii perl [libdigest-sha-perl] 5.20.2-6
ii t1utils 1.38-4
ii xz-utils 5.1.1alpha+20120614-2.1
Versions of packages lintian recommends:
ii dpkg 1.18.3
pn libperlio-gzip-perl <none>
ii perl 5.20.2-6
ii perl-modules [libautodie-perl] 5.20.2-6
Versions of packages lintian suggests:
pn binutils-multiarch <none>
ii dpkg-dev 1.18.3
ii libhtml-parser-perl 3.71-2
ii libtext-template-perl 1.46-1
ii libyaml-perl 1.13-1
-- no debconf information
Reply to: