fix can't package to rpm.
Signed-off-by: Li Jiansheng <lijiangsheng1@gmail.com>