Record architecture for Debian packages
commita1980f1fd207d171d480049a1890ffdb0f72ed02
authorThomas Leonard <talex5@gmail.com>
Sat, 23 Aug 2008 11:35:39 +0000 (23 12:35 +0100)
committerThomas Leonard <talex5@gmail.com>
Sat, 23 Aug 2008 11:38:36 +0000 (23 12:38 +0100)
tree117525295e14ebe8ed19ac004d2962d38b6b51a6
parent09a0ac40998eeb878be408fac259dce84970403e
Record architecture for Debian packages

We used to assume that a native Debian package had an arch type of '*'
(i.e. it would always be compatible with everything). However, on a mixed
32 and 64 bit platform, we can't use a 64-bit native library with a 32-bit
Zero Install package. Therefore, take notice of the deb's architecture too.

Might need a similar change for RPMs too.
tests/dpkg/dpkg-query
zeroinstall/injector/distro.py
zeroinstall/injector/model.py