Fixed YAML and SPEC files

- Make it build in SDK.
- Fix specify warnings.