refactor rpm build spec