Depends: mozilla (>= 1.7-1), mozilla (<< 1.8-1)
Did you actually try this? And did it do what you thought it should do? In my tests, when it was like you show it, it happily neglected the second dependency and installed the higher version anyway. When I interchanged the the two inequalities, put the << first and the >= second, I got the infamous "node ... already exists" error.
Er, I didn't test it, but I think dpkg should deal with it fine, and apt-get too. I guess Fink's dep engine can't.
The other alternatives are:
1) Make A depend on a specific revision of B, and then keep in touch with B's maintainer and/or subscribe to fink-commits.
2) Make a separate package Bxxx for just the required version, like we had with db317 for a while.
Dave
PGP.sig
Description: This is a digitally signed message part