Re: Additional lintian warnings in mentors upload
On 2011-11-10 10:59, Ole Wolf wrote:
> I've noticed that the lintian check on my mentors uploads are a bit more
> strict than the lintian checks on my PC; for example, lintian on mentors
> catches version numbering intended for debian native packages. I want to
> eliminate such warnings and errors before I upload rather than discovering
> them afterwards.
>
Hi,
How do you use lintian?
lintian pkg_ver_arch.deb
lintian src_ver.dsc
lintian src_ver_arch.changes
The latter is preferred and should check everything included in the
upload. You probably want to a full build for checking as some checks
depend on the package type and what other packages (from the same
source) are checked.
> My lintian version is v.2.5.3ubuntu2, so I'm guessing it's been modified
> for Ubuntu to skip such warnings/errors as the one mentioned above. Will a
> "real" (debian) lintian capture such errors/warnings, or do the mentor
> upload scripts make specific checks that won't be made by any generic
> lintian package I might find for debian?
>
> --
> OLE WOLF[1]
> Rødhættevej 4 * 9400 Nørresundby
> Telefon: 9632-0108 * Mobil: 2467-5526 * Skype: ole.wolf * SIP:
> ole.wolf@ekiga.net
>
>
> Links:
> ------
> [1] http://naturloven.dk
>
Ubuntu has some modifications to lintian, but as I recall they only
ignore debian-changelog-file-is-a-symlink and
upstart-job-in-etc-init.d-not-registered-via-update-rc.d in lintian 2.5.3.
You should be able to use "lintian --profile debian" to get
Debian-like behaviour. Mind you, you should still build the package in
Debian chroot, as Ubuntu and Debian has more diveragence in their build
systems. :)
~Niels
Reply to: