update spec files for packaging