Fixed rpmbuilds to handle relative and absolute paths