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

Re: build dependency range



The valid way to specify "libcfitsio-dev (>= 3.310) or libcfitsio3-dev (>= 3.310, << 3.370)" would be to use A|(B&C) = (A|B)&(A|C):

libcfitsio-dev (>= 3.310) | libcfitsio3-dev (>= 3.310), libcfitsio-dev (>= 3.310) | libcfitsio3-dev (<< 3.370)

but you probably don't actually need that: as libcfitsio3-dev >= 3.370 is an empty package depending on libcfitsio-dev,

libcfitsio-dev (>= 3.310) | libcfitsio3-dev (>= 3.310)

should be sufficient.

Note that libcfitsio-dev needs to be first as buildds only look at the first alternative. I do not know if this rule also applies to backports, but given that jessie has 3.370 and wheezy 3.300, it won't be an issue for Debian backports anyway.


Reply to: