On Tuesday, May 17, 2022 10:06:44 AM CDT Miroslav Suchý wrote:
> Do we need to %if-%else it in the spec file? I recall some
discussion about this on the legal list, but I see no
> guidelines proposed here.
If you maintain one spec for all branches then you will need %if-%else. And yes, it
works.
If that ends up being the policy, it would be nice if there was a convenience
macro that was set to 1 on branches that allow SPDX identifiers.
Also, are we going to have some way of marking which packages have been converted and
which haven't? This will be a problem with `MIT` licensed specfiles, for instance,
because the license identifier means something different in Fedora land than it does in
SPDX.
* Convert license string to SPDX formula:
$ license-fedora2spdx 'MIT or GPLv1'
Warning: more options how to interpret MIT. Possible options:
['Adobe-Glyph', 'MIT-CMU', 'MIT-CMU', 'HPND',
'HPND', 'no-spdx-yet
(MIT license (also X11))', 'SGI-B-2.0', 'SGI-B-2.0',
'SMLNJ',
'MIT-enna', 'MIT-feh', 'mpich2']
mpich2 or GPL-1.0-only
--
Thanks,
Maxwell G (@gotmax23)
Pronouns: He/Him/His