fedora-copr / copr

RPM build system - upstream for https://copr.fedorainfracloud.org/
115 stars 59 forks source link

Warn when an RPM does not have compliant license #3290

Open xsuchy opened 4 months ago

xsuchy commented 4 months ago

The work of migrating packages to SPDX is almost finished. We can call license-validate on the License tag of the resulting packages and check if licenses are compliant with Fedora policy.

When the license is not valid, we can show the user a warning that the license is not allowed. Or it has a typo - this will be common in the early days.