https://bugzilla.redhat.com/show_bug.cgi?id=2150574



--- Comment #10 from Miro HronĨok <[email protected]> ---
(In reply to Wayne Sun from comment #9)
> Issues:
> =======
> - If (and only if) the source package includes the text of the license(s)
>   in its own file, then that file, containing the text of the license(s)
>   for the package is included in %license.
>   Note: License file LICENSE is not marked as %license
>   See: https://docs.fedoraproject.org/en-US/packaging-
>   guidelines/LicensingGuidelines/#_license_text
> 
> 
> The file LICENSE should have already been included as using
> %{pyproject_files}.

This package uses flit as a build backend, hence the LICENSE file is included
in %{pyproject_files} but not marked as %license, because flit does not support
that (yet).

To workaround you can do:

  %files -n python%{python3_pkgversion}-%{srcname} -f %{pyproject_files}
  %doc README.md
  %license %{python3_sitelib}...dist-info/LICENSE

That will produce a harmless warning about a file listed twice but will work.


> This is an issue of the fedora review tool, and already been reported:
> 
> https://pagure.io/FedoraReview/issue/468

Not in this case.


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2150574
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to