some changes to support using artifacts for RPM builds