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?

link|improve this question

35% accept rate
1  
"Depends: A | B" should work. – sendmoreinfo Dec 15 '11 at 21:00
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.