def _context_license_spdx(context, value):
    """convert a given known spdx license to another one"""
    mapping = {'Apache-1.1': 'ASL 1.1', 'Apache-2.0': 'ASL 2.0',
        'BSD-3-Clause': 'BSD', 'GPL-1.0+': 'GPL+', 'GPL-2.0': 'GPLv2',
        'GPL-2.0+': 'GPLv2+', 'GPL-3.0': 'GPLv3', 'GPL-3.0+': 'GPLv3+',
        'LGPL-2.1': 'LGPLv2.1', 'LGPL-2.1+': 'LGPLv2+', 'LGPL-2.0':
        'LGPLv2 with exceptions', 'LGPL-2.0+': 'LGPLv2+ with exceptions',
        'LGPL-3.0': 'LGPLv3', 'LGPL-3.0+': 'LGPLv3+', 'MIT':
        'MIT with advertising', 'MPL-1.0': 'MPLv1.0', 'MPL-1.1': 'MPLv1.1',
        'MPL-2.0': 'MPLv2.0', 'OFL-1.1': 'OFL', 'Python-2.0': 'Python'}
    if context['spec_style'] == 'fedora':
        return mapping[value]
    else:
        return value
