Fix build-rpm script to work a bit more safely.

1 file changed