Hello Pythonistas,
pyproject-rpm-macros 1.19.0 was just built and it provides a small enhancement.
Consider this code:
%generate_buildrequires
pushd nemo-audio-tab >&2
%pyproject_buildrequires
popd >&2
pushd nemo-pastebin >&2
%pyproject_buildrequires
popd >&2
It can now be replaced with:
%generate_buildrequires
%pyproject_buildrequires -d nemo-audio-tab
%pyproject_buildrequires -d nemo-pastebin
Same for %pyproject_wheel.
See the documentation in README, section *Building wheels from custom
directories*
https://src.fedoraproject.org/rpms/pyproject-rpm-macros/blob/rawhide/f/README.md
Beware: As this is a new option for the macros, if your spec file uses it, you
cannot parse it with an old version of the macros installed. This includes
running commands like fedpkg prep, fedpkg srpm etc.
Updates are available in Bodhi for all Fedora releases and I plan to update the
package in c9s and c10s during the current RHEL development cycle.
Happy packaging.
--
Miro Hrončok
--
Phone: +420777974800
--
_______________________________________________
python-devel 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://forge.fedoraproject.org/infra/tickets/issues/new