Added error handling and reporting to the RPM builds.wq