Hello,

Is there a way to build-depend on a range of versions (e.g. newer than
0.43, but older than 1.0)?

https://www.debian.org/doc/debian-policy/ch-relationships.html says:

,----
|  All of the fields except for Provides may restrict their
|  applicability to particular versions of each named package. This is
|  done in parentheses after each individual package name; the
|  parentheses should contain a relation from the list below followed by
|  a version number, in the format described in Version, Section 5.6.12.
`----

which seems to imply that I can use at most one operator. But I have a
hard time believing that it's truly not possible to express this sort of
dependency.

What's the best practice here? Would listing the package twice, i.e.

| Build-Depends: foo (>= 0.43), foo (<< 1.0)

have the desired effect?


Thanks,
-Nikolaus

-- 
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«

Reply via email to