refactor dummy rpm build

fix dummy spec path
comment
optimize. Do at most O(N) builds