remove lib/rules dependency.
fix rpmbuild.sh filename.
Merge branch 'refactor-rpmbuild'