Get architecture from uname in build scripts.  Also, RG is noarch.