Improve build-rpm.sh script