def get_build_data(dsc, start_time, end_time, scm_url, owner):
    """ Return a dict of build information, for the CG metadata. """
    name = dsc['Source']
    version, release = dsc['Version'].split('-')
    info = {'name': name, 'version': version, 'release': release, 'source':
        scm_url, 'start_time': start_time, 'end_time': end_time, 'owner':
        owner, 'extra': {'typeinfo': {'debian': {}}}}
    return info
