When packaging on Fedora, Kalev Lember brought up the issue that there's not really a way to limit p11-kit to only load modules for a given architecture.
When both 64-bit and 32-bit versions of a PKCS#11 library are installed then 64-bit processes should only load 64-bit modules, and vice versa.
Patch which allows limiting loading of modules based on architecture.
* Adds new arch: configuration line to module config
* If arch: config is present and the architecture of p11-kit does not
match then the module is skipped.
Kalev proposed a different solution on the mailing list, which I've merged. I won't me merging this, unless a different *real* use case comes up at some point.