Re: Depending on a -bin package built from the same source version
On 2013-03-10 19:26 +0100, Eric Lavarde wrote:
> On 10/03/13 18:48, Antonio Valentino wrote:
>> 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?
> Not about the "unknownness" of the package as you're currently packaging it.
> But about the wrong version value: you can't combine a placeholder and
> other characters.
Why not?
>> Is there a better solution to address the specific problem?
> Yes, simply depend on version equality:
>
> Depends: polsarpro-bin (= ${source:Version})
>
> Remark: you might want to check [1] if a binary:Version placeholder
> wouldn't be a better choice.
Assuming that polsarpro is Arch:all and polsarpro-bin is Arch:any, which
seems to be the case here, neither of these options works.
A valid possibility would be to reverse the roles and dependencies:
rename polsarpro to polsarpro-data and polsarpro-bin to polsarpro, then
polsarpro can depend on polsarpro-data (= ${source:Version}).
Cheers,
Sven
Reply to: