On 6/26/24 8:41 AM, Richard Fontana wrote:
On Wed, Jun 26, 2024 at 10:24 AM Jerry Jamesloganjerry@gmail.com wrote:
On Wed, Jun 26, 2024 at 6:17 AM Miroslav Suchýmsuchy@redhat.com wrote:
We will get valid SPDX formula.
Some legacy license names contain spaces. Simply slapping "LicenseRef-Fedora-" on the front will only affect the first word of such multiword license names, resulting in an invalid SPDX formula. We would also have to convert those spaces to hyphens, right?
Correct, if I'm reading the SPDX license expression grammar correctly (https://spdx.github.io/spdx-spec/v3.0//annexes/SPDX-license-expressions/), spaces would have to be converted and the hyphen is probably the only sensible separator. So e.g. "BSD with advertising" becomes "LicenseRef-Callaway-BSD-with-advertising".
correct re: spacing and your example