build: Use the correct architecture when building packages
build: Use the correct architecture when building packages

Previously we tagged all packages with the build machine architecture,
which has always been x86_64.  Now we have some noarch packages, which
specify 'BuildArch: noarch' in their SPEC files.   With this change,
we use the architecture which RPM gives us instead of assuming the
architecture of the build machine.

Signed-off-by: Euan Harris <c3b6e83069c8e9e3af49a38fec6026be89559638@citrix.com>

djs55/planex,simonjbeaumont/planex,djs55/planex,djs55/planex,simonjbeaumont/planex,simonjbeaumont/planex