Bug#548819: lintian: Check duplicated entries in build-depends, depends, etc
"Nelson A. de Oliveira" <naoliv@debian.org> writes:
> Is it out of scope a check for duplicated entries in debian/control (for
> fields like Build-Depends, Depends, Recommends, Suggests, Conflicts,
> Provides, Replaces)?
> For example:
> Build-Depends: cdbs, debhelper (>= 7), cdbs
> It could detect that cdbs has already another entry.
We used to have a check for this against the binary package but dropped it
as pointless once dpkg-buildpackage started automatically removing
duplicates. We could re-add it as a pedantic check on the source package
control file (pedantic because it doesn't affect the resulting binary
packages due to dpkg-buildpackage behavior). Seems like a reasonable
wishlist item to me.
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply to: