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

Re: Upstream-only version dependency in debian/control



How about:
 Depends: foo (>= 1.2.3), foo (<< 1.2.4~)
or
 Depends: foo (>= 1.2.3), foo (<< 1.2.3.0~)

Julian 

Am Mittwoch, den 11.07.2007, 00:32 +1200 schrieb Francois Marier:
> (Please CC me in your replies, I'm not subscribed to debian-devel)
> 
> Hi,
> 
> I'm trying to get my package to depend on a specific upstream version of
> another package and ignore the Debian component of the version string.
> 
> Given package foo 1.2.3-1, I want package bar (which is not built from the
> same source package) to have a line like:
> 
>   Depends: foo (= 1.2.3)
> 
> but not:
> 
>   Depends: foo (= 1.2.3-1)
> 
> or:
> 
>   Depends: foo (>= 1.2.3)
> 
> (since that last one would accept foo 1.2.4-1 for instance)
> 
> Is that possible?  Is this documented anywhere?  Chapter 7 of the policy
> doesn't seem to mention it.
> 
> Cheers,
> 
> Francois
> 
> 



Reply to: