fix call func buildrpm