build dependency range
Hi,
I have a package (cpl) that in the past did build-depend from
libcfitsio3-dev, but now depends on libcfitsio-dev. I want to keep the
dependency from libcfitsio3-dev for easier backports.
The minimal version needed by cpl is 3.310.
The transition between libcfitsio-dev and libcfitsio3-dev was between
releases 3.340-3 and 3.370-1.
How do I specify this build dependency?
I tried:
Build-Depends: libcfitsio-dev (>= 3.310)
| libcfitsio3-dev (>= 3.310) & libcfitsio3-dev (<< 3.370-1)
and
Build-Depends: libcfitsio-dev (>= 3.310)
| (libcfitsio3-dev (>= 3.310), libcfitsio3-dev (<< 3.370-1))
and
Build-Depends: libcfitsio-dev (>= 3.310) | libcfitsio3-dev (>= 3.310, << 3.370)
but all produce the error
dpkg-source: error: error occurred while parsing Build-Depends
So what should I set here?
Reply to: