[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#345487: lintian: Add warning when Build-Depend on version number like 1.23-1 (should be 1.23)



On Sun, Jan 01, 2006 at 01:51:07AM +0100, Erich Schubert wrote:
> I've been doing a couple of backports recently, and one error I frequently had to deal with were Build-Dependencies that include the debian revision number unnecessarily.
> I.e. they depend on somelib (>= 1.23-1) while there never was a 1.23-0
> but it is a best practice for backports to use 1.23-0backport1 (so they will be upgraded when possible)
> 
> The check is easy, I guess emitting a warning on any version number ending
> in -1 is appropriate. There may be a few cases where this warning is
> incorrect (e.g. there was a NMU which introduced a broken .h file, and this
> was fixed in the -1 revision by the maintainer) but they're very unlikely
> I think.

Hmm, since most dependencies are generated via shlibs it might be better
to only test the shlibs files for constructs like that. Because that's
the maintainer that can actually do something about it...

Gruesse,
-- 
Frank Lichtenheld <djpig@debian.org>
www: http://www.djpig.de/



Reply to: