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

Re: Depends on exact version




On 12/11/14 22:40, Andreas Cadhalpun wrote:
> [...]
> 
> You require the exact upstream version (1.1).
> This can't work, because there will always be the Debian revision added
> (1.1-1~exp1).
> 

I had a suspicion that this was why, but wasn't sure.

> What should work better is '>= ${source:Upstream-Version}'.
> 
> However, that is not enough to guarantee that the upstream versions
> always match. One could then have e.g.:
> gns3        = 1.1-1
> gns3-gui    = 1.1-1
> gns3-server = 1.2-1
> 
> If you want to prevent that, you can add appropriate Breaks:
> gns3-server:
>  Breaks: gns3-gui (< ${source:Upstream-Version})
> gns3-gui:
>  Breaks: gns3-server (< ${source:Upstream-Version})
> 

I presume this should << since < is deprecated? Would this also need
breaks on the greater than side.

What I'm trying to ensure is that the upstream versions match, the
checks in the gui (that check server version) aren't worried about
Debian revision.

If it's possible to do this, without having to change the breaks
manually each time it would definitely be preferably!

Regards Daniel

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: