https://bugzilla.redhat.com/show_bug.cgi?id=2112474
--- Comment #3 from Kashyap Chamarthy <kchamart(a)redhat.com> ---
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_dire...
~
--
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