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



--- Comment #7 from Ben Beasley <[email protected]> ---
Oh, one suggestion I missed in the original review feedback. The
pyproject-rpm-macros are already correctly marking as %license the license file
in the .dist-info directory via %{pyproject_files}, so you don’t have to
install a duplicate copy manually.

  $ rpm -qL -p
results/python3-azure-mgmt-postgresqlflexibleservers-1.1.0~b1-1.fc42.noarch.rpm 
 
/usr/lib/python3.13/site-packages/azure_mgmt_postgresqlflexibleservers-1.1.0b1.dist-info/LICENSE
  /usr/share/licenses/python3-azure-mgmt-postgresqlflexibleservers/LICENSE

You can remove

  %license LICENSE

and change

  %pyproject_save_files azure

to

  %pyproject_save_files -l azure

to “assert” that a license file was included in the %{pyproject_files}; this
guards against the license file “disappearing” in a future update, perhaps by
upstream switching to a build backend that no longer sets the PEP 639
License-File field.


-- 
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=2328743

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202328743%23c7

-- 
_______________________________________________
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