Joey Hess wrote: > I don't think there's any particular reason for dh to have its current > behavior -- it can run dpkg-architecture just once when figuring out > which packages to act on. The change there looks to be this simple, though > I need to test it:
Looking at it in a bit more detail, dh would still need to pass -s to every command it runs. And that would result in 20 seconds added to a the average package build on my laptop. So, the optimisation of not making -a the same as -s, while ugly, is still necessary. dh could still be made smart enough to figure out if the control file lists arch-specific packages, and automatically pass -s in that case. -- see shy jo
signature.asc
Description: Digital signature