[Bug 2112474] Review Request: python-qemu-qmp - QEMU Monitor Protocol library

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

 



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



--- Comment #3 from Kashyap Chamarthy <kchamart@xxxxxxxxxx> ---
So on this one:

[ ]: Package requires other packages for directories it uses.
     Note: No known owner of /usr/lib/python3.11/site-packages/qemu

I checked with folks on #fedora-python, and the advice I got is the 
following:

In most cases, directory co-ownership: e.g. `%dir
%{python3_sitelib}/qemu` in all packages in the namespace) is
appropriate for Python namespace package directories

(Where "namespace" == the "qemu/" namespace in this case)

And in our case, we can use the newer macro called
"%pyproject_save_files" to resolve the review complaint:

    %install
    ...
    %pyproject_save_files qemu

(The above macro only understands top-level packages and modules.  But 
the emitted file list will co-own the top-level directory (i.e.
/usr/lib/python3.11/site-packages/qemu)

PS: The "%pyproject_save_files" macro is available on RHEL9, but _not_
    on RHEL8.

                * * *

Docs for file- and directory-ownership: 
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_file_and_directory_ownership
~


-- 
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=2112474
_______________________________________________
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 on the list, report it: https://pagure.io/fedora-infrastructure




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

  Powered by Linux