On Thu, 11 May 2006, Frank Lichtenheld wrote: > On Mon, Apr 24, 2006 at 01:01:30AM +0200, Nicolas François wrote: > > On Mon, Sep 30, 1996 at 05:15:13PM +0200, Dominik Kubla wrote: > > > > > > dpkg-buildpackage should do sanity checks on the version number given in > > > the changelog file. I rebuilt a package and had made a typo in the > > > version > > > number. The package was built without a warning. Only at installation time > > > did dpkg complain about the "downgrade" of the package. > > > > linda is already doing this sanity check. > > Do you think it is worth keeping this bug open? > > > > Do you think it should be implemented in dpkg-dev (or in lintian)? > > I would leave the bug open. While I have no intentions to hack something > like this into the current version of dpkg-parsechangelog, I would not > say that it is a thing not ever worth thinking about.
We could add this warning to dpkg-genchanges. We already have the code that extracts the two last version numbers... it's a trivial 2 line patch. Cheers, -- Raphaël Hertzog Le best-seller français mis à jour pour Debian Etch : http://www.ouaza.com/livre/admin-debian/