See https://discussion.fedoraproject.org/t/fedora-licence-compliance-check/176580
To me, it makes sense to make this a release-blocker for Fedora Workstation. It'd also be nice to have some check (in Fedora CI, Kamil suggests) on package build.
Potentially this should be done by rpminspect. It already has a license module, but that focuses on checking the source package's License tag, it does not currently do anything (AFAICS on a quick scan, anyway) to check that each binary package includes license files or depends on a package that does.
License
@dcantrell wdyt? Is this something you've looked at at all?
Entirely reasonable, with some boundaries. I would not say rpminspect is a tool that could read or interpret license files. No tool really does that well. But the license inspection could be expanded to, say:
That is on top of validating the License tag value as an SPDX expression compliant with our curated list of accepted licenses in fedora-license-data.
I think it's acceptable for a binary package not to carry the license files itself if it depends on another package that has the license files, e.g. if 'foo-core' has the license files and 'foo-extras' requires 'foo-core', 'foo-extras' doesn't also have to include the license files. See the guidelines. So we need to allow for that case.
That is doable as well. I guess I meant to say "ensure" all %license files in the spec file are accounted for in the built subpackages of this SRPM".
If this is something you'd like to see in rpminspect, please file an RFE over on the project's github page. I have not moved rpminspect over to codeberg yet, but that's coming once I am on PTO.
I've filed one.
Metadata Update from @kparal: - Custom field story_points adjusted to 5 - Issue priority set to: wishlist (was: normal) - Issue set to the milestone: Undefined Future - Issue tagged with: enhancement, task
This issue has been migrated to Fedora Forge: https://forge.fedoraproject.org/quality/tickets/issues/856
Please continue any further discussion there.
Log in to comment on this ticket.