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. -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/553b88e2.2050...@zoho.com
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? -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/878udglb9d@news.ole.ath.cx