Updated spec file to auto generate revision number