Fix spec file errors