Fix for RPM error "Unable to open temp file" #228

define _tmppath when calling rpmbuild using temporary directory and
cleanup temporary directory afterwards.