fix spec file for yocto complaiance