Corrected errors in the spec file

Corrected a number of errors in the spec file.