Depending on a -bin package built from the same source version
Hi list,
I'm working on packages for a SW [1,2] that has a main GUI application
(written in Tcl/Tk) and a set of command line programs that are called
from the main GUI app.
I decided to split the program in two packages, polsarpro and
polsarpro-bin, and of course the main one (polsarpro) depends on
polsarpro-bin.
The question is how to specify the the dependency.
The GUI app have to depend from binaries built from the same source code
(not previous of later versions).
For what I can understand the correct approach should be the one
described in [3,4], something like
Depends: polsarpro-bin (>= ${source:Version}),
polsarpro-bin (<< ${source:Version}.1~)
but the cme tool (provided by [5]) keeps on complaining about it:
$ cme check dpkg-control
Reading package lists... Done
Building dependency tree
Reading state information... Done
Connecting to qa.debian.org to check polsarpro-bin versions. Please wait...
Warning in 'binary:polsarpro Depends:1' value 'polsarpro-bin (>=
${source:Version})': package polsarpro-bin is unknown. Check for typos
if not a virtual package.
Warning in 'binary:polsarpro Depends:2' value 'polsarpro-bin (<<
${source:Version}.1~)': package polsarpro-bin is unknown. Check for
typos if not a virtual package.
Configuration item 'binary:polsarpro Depends:2' has a wrong value:
dependency 'polsarpro-bin (<< ${source:Version}.1~)' does not match grammar
Should I care about it?
Is there a better solution to address the specific problem?
[1] Vcs-Git: git://git.debian.org/git/pkg-grass/polsarpro.git
[2] Vcs-Browser: http://git.debian.org/?p=pkg-grass/polsarpro.git
[3] http://lintian.debian.org/tags/not-binnmuable-all-depends-any.html
[4] http://lintian.debian.org/tags/weak-library-dev-dependency.html
[5] http://packages.qa.debian.org/libc/libconfig-model-perl.html
thanks
--
Antonio Valentino
Reply to: