We want to allow cross-building and generating a Flatpak OCI for an architecture other than the current one - to enable this, allow FlatpakBuilder(..., oci_arch=<other arch).
Because we need to maintain a mapping between OCI/RPM/Flatpak architecture names, new architectures will require an addition here.
Tests are extended to check the generated OCI content, and then updated to handle metadata changes based on architecture - looking at the individual commits will clarify what is going on.
This supercedes #15
We want to allow cross-building and generating a Flatpak OCI for an architecture other than the current one - to enable this, allow FlatpakBuilder(..., oci_arch=<other arch).
Because we need to maintain a mapping between OCI/RPM/Flatpak architecture names, new architectures will require an addition here.
Tests are extended to check the generated OCI content, and then updated to handle metadata changes based on architecture - looking at the individual commits will clarify what is going on.