Relocate entry function of `rpm/build.py`