revise the spec file for ES