On Fri, 2018-02-16 at 10:31 +0100, Stefan Seyfried wrote:
Back to topic: IMHO the only way forward is keeping old SPDX format, at least until the last distributions that have a check for these are out of support (SLES11 currently until 2022-03-31)
SLE11 is about the worst argument you can bring to keep SPDX-2.0 - as SLE11 did not use SPDX-2.0 at the time. In SLE11, we still have licesnes like "GPL v2 or later" - SPDX-2.x would have bee GPL-2.0+ and SPDX-3.0 would ge GPL-3.0-or-later Anyway, the stones started moving and the current way being worked on is: rpmlint will accept SPDX-3-.0 as the main license strings. The few SPDX-2.0 strings that would be no longer available are added to the list of allowed licenses. So that means a spec file with GPL-3.0+ is as valid as GPL-3.0-or- later. obs-service-format_spec_file will rewrite the license to SPDX-3.0 format. This will result in 'old' distros (anyhting released prior to Leap 15) to 'warn' about invalid licenses, but outside of the openSUSE:* namespace, invalid licenses are a warning only and can be ignored. License strings are only enforced inside the openSUSE:* namespace (this is not new) This is the cleanest solution forward I can think of, allowing TW/{SLE,Leap}15 to move forward, and not breaking every spec file we curretnly have. Over time I expect the spec files in TW to have moved to SPDX-3.0 - that's when I'll revisit rpmlint changes and possibly no longer accepting SPDX-2.0 identifiers. But this is not goint to be int he next few weeks. Cheers Dominique