Hello,
There is an upcoming update to pyproject-rpm-macros-0-34.fc34, fc33 and fc32.
It contains a backwards incompatible change wrt behavior of
%pyproject_save_files:
Previously, when a Python module was a directory, it was listed recursively:
%{python3_sitelib}/foobar/
Now, each file is listed explicitly:
%dir %{python3_sitelib}/foobar
%dir %{python3_sitelib}/foobar/__pycached__
%{python3_sitelib}/foobar/__init__.py
...
This was done to be able to properly list language files and to detect packaging
mistakes.
The list of files is generated from RECORD file:
https://www.python.org/dev/peps/pep-0627/
If you need to manipulate the installed files (rename, move or delete them), try
to do it before building the wheel (e.g. in %prep). If you need to do it after
installing the wheel, using %pyproject_save_files might no longer be possible.
The only affected package in Fedora is:
https://src.fedoraproject.org/rpms/python-matrix-nio/pull-request/1
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org
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/python-devel@lists.fedoraproject.org