fix some source formatting, update license tag in spec file