pyproject-rpm-macros breaking change: %pyproject_save_files now lists
all files explicitly
by Miro Hrončok
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
3 years, 3 months
Need sphinx-tabs
by Richard Shaw
With upcoming OpenColorIO 2.x the documentation generation system has been
completely overhauled and now has a number of new requirements, including
sphinx-tabs.
I have packaged it although I have been unable to get %check to work. I'm
not sure if it's a PBKAC, missing additional testing deps, or they're
actually failing.
It looks to be a very low maintenance package so my idea was to get the
review request done and get it built in Rawhide and then hand it over to
the sig as I need another package to maintain like I need another hole in
my head.
Thoughts?
Thanks,
Richard
3 years, 3 months