On Wed, May 25, 2022 at 10:49:15AM +0200, Miroslav Suchý wrote:
Dne 25. 05. 22 v 2:44 Miro Hrončok napsal(a):
- There are tags that might mean slightly different things in each
notation. E.g. MIT. Is this package licensed with the SPDX MIT? Or is it a old-style MIT that might mean different SPDX notation? Note that the old-style MIT seems to be a superset of SPDX MIT, so this isn't probably getting worse than it is, it's just a tad confusing.
I think that we can assume that if
gitlog --pretty=oneline
contains `spdx` or similar string, than the spec file use the new notation.
Ewwww, please no. Apps need to know whether a given RPM is using SPDX or not, independantly of whether they have Fedora git source history available. We just need to record this fact in the specfile explicitly, so it is available both to maintainers and to any apps parsing the spec and to any apps querying the installed RPMDB.
With regards, Daniel