At https://fedoraproject.org/wiki/Packaging:Python#Macros
%py2_build %py2_install %py3_build %py3_install
Are not documented. Yet we use them in the example bellow.
I would just add them with:
Normal definition:
{__python2} setup.py build ... {__python2} setup.py install --skip-build ... {__python3} setup.py build ... {__python3} setup.py install --skip-build ...
Notes:
Various flags are added, see /usr/lib/rpm/macros.d/macros.pythonX for details and similar macros. Define %py_setup_args to pass custom command line arguments to setup.py.
/usr/lib/rpm/macros.d/macros.pythonX
%py_setup_args
setup.py
I would suggest just adding them.
Metadata Update from @churchyard: - Issue assigned to churchyard
Metadata Update from @churchyard: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Log in to comment on this ticket.