Bug#409099: lintian: debian/control::Depends check for missing commas
On Tue, 30 Jan 2007, Russ Allbery wrote:
> > An example:
>
> > debian/control
> > Depends: ${shlibs:Depends} ${misc:Depends}
>
> > SUGGESTION
>
> > If possible, detect the missing commas in debain/control fields
> > like Build-Depends and Depends. That is:
>
> > * After a word or ending paren, a comma should follow
> > * an exception: not enforced at the end of line.
>
> Hm, doesn't check/fields already do a syntax check here? If not, it
> certainly should, but I thought it already did.
>
> Of course, if those substitutions expand to nothing, it will miss that
> because the syntax check is done on the binary package.
dpkg-gencontrol will also error out if the resulting field is not correct
however there are no check prior to substvars expansion.
Cheers,
--
Raphaël Hertzog
Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/
Reply to: