Andreas Barth writes: > + the already discussed topic of recommends (IMHO yes, as main should be > a closure, and broken recommends break that; although I tend to > sarge-ignore if there is no other clean solution, as all-packages > don't support something like foo[i386] in their recommends line);
you can do this, but it's more pain in every package than a change in dpkg: Recommends: ${arch-recommends} and in debian/rules: ifeq ($(DEB_HOST_GNU_TYPE),i386-linux) dh_gencontrol -- -Varch-recommends=foo else dh_gencontrol fi