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

Re: weak-library-dev-dependency is there a lintian bug ?



On Tue, 2009-12-01 at 16:43 +0100, Picca Frédéric-Emmanuel wrote:
> Hello I am developping a package for the tango control system.
> 
> the upstream tango-7.1.1.tar.gz contain in fact a sub package.
> in the configure.in there is a 
> AC_CONGIF_SUBDIRS(blablabla...)
> 
> this sub package provide a librairy but the version number is taken from its
> AC_INIT with this line in the debian/rule file:
> 
> LOG4TANGO_VERSION := $(shell egrep AC_INIT lib/cpp/log4tango/configure.in | cut -f 2 -d ' ' | cut -f 1 -d ',')
> DEB_NOREVISION_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ' | cut -f 2 -d '-')
> 
> for now the version is 4.0.3-1 != (= ${binary:Version})

You want the debian package version, not the library version. So I think
lintian is correct here: liblog4tango4 version will be ${binary:Version}
(something like 7.1.1-1), not 4.0.3-1.

Unless you are doing something _really_ weird and changing the version
per-binary?



-- 
Saludos,
Felipe Sateler



Reply to: