[Bug 2208398] Review Request: python-pyasn - Offline IP address to Autonomous System Number lookup module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



--- Comment #10 from Davide Cavalca <davide@xxxxxxxxxxxx> ---
(In reply to Petr Menšík from comment #7)
> The primary problem is there is no %license in %files section. %ľicense
> LICENSE is missing. No file is installed into /usr/share/licenses/ and that
> is not optional. That have not changed after comment #5 update.

This is already taken care of by the %pyproject_save_files macro (see the
README at https://src.fedoraproject.org/rpms/pyproject-rpm-macros for details).
You can confirm that the license file is being included and correctly marked as
%license with:

$ rpm -qLp python3-pyasn-1.6.1-1.fc40.x86_64.rpm 
/usr/lib64/python3.12/site-packages/pyasn-1.6.1.dist-info/LICENSE

This is common in packages using the pyproject macros.

> That is required by the first paragraph in https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/#_license_text

The policy reads:

"Note also that it is acceptable for license files to be so flagged in a list
which is generated programmatically and included using %files -f. This tagging
is often done automatically by macros and not directly visible to the packager.
What is important is not the visible presence of the %license directive but
instead that all relevant license files included in a package appear when using
rpm -q --licensefiles."

which to me implies this package is in compliance.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2208398

Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202208398%23c10
--
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux