I have an application that I package as a native Debian package. When I build the package against stable I need to include a dependency on Debian package A. However, in unstable that package has been superseded by package B.
I would like to be able to say something like this in the control file:
Depends: A[stable], B[unstable]
Is there such a way to specify package dependencies that depend on the distribution in the control file, or am I stuck with just using different control files when building against the different distributions?