add back encoding for spec file