update code layout.
rpmbuild: remove unnecessary codes.