2 Nov
2009
2 Nov
'09
5:47 p.m.
2009/11/2 Thomas Bächler <thomas@archlinux.org>:
Chris Brannon schrieb:
On second thought, I wonder if these sorts of checks should be done within namcap?
They should. Two checks: 1) Is an arch=any package architecture-dependent -> error 2) Is an arch=whatever package architecture-independent -> warning
If you know python and have the time, you should write a patch against namcap.git and mail it to Hugo. I told him once that it's a good feature, no idea if he got to it. You can check namcap.git to see if he did something, and check the bugtracker if there is a feature request already.
It's not in namcap.git. You could look at elfflies.py - that already checks for ELF files in the package. This would fit in neatly there. Abhishek