Correct encodings, improve build, clean spec, enable curl