Original translate_arch is replaced with a stable way to get
target_arch by executing rpmspec. This is requires for running tests in
various machines that have different arches. This is useful for
building packages in Copr and Koji especially, that is because we have
to build packages for i386, e.g. fedora-24-i386, and the build might
happen in an ARM builder machine sometimes. So, we have to ensure to get
Original translate_arch is replaced with a stable way to get
target_arch by executing rpmspec. This is requires for running tests in
various machines that have different arches. This is useful for
building packages in Copr and Koji especially, that is because we have
to build packages for i386, e.g. fedora-24-i386, and the build might
happen in an ARM builder machine sometimes. So, we have to ensure to get
Signed-off-by: Chenxiong Qi cqi@redhat.com