fix bug where RPM_ARCH and RPM_OS were being emitted to the RPM scripts in uppercase instead of lowercase, inconsistent with rpmbuild