fix whitespace at the end of the line; add newline at the end of the spec file