Add --no-index --no-warn-script-location pip options to %pyX_install_wheel
--no-index saves a ~1 minute timeout of pip possibly checking if there is
a newer pip version (in mock with disabled network).
--no-warn-script-location removes a bogus warning that says:
WARNING: The scripts easy_install and easy_install-3.9 are installed in
'/builddir/build/BUILDROOT/python-setuptools-49.2.0-1.fc33.x86_64/usr/bin'
which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning,
use --no-warn-script-location.
This commit is contained in:
parent
0086612c98
commit
06ee391993
4 changed files with 4 additions and 3 deletions
|
|
@ -112,6 +112,7 @@ install -m 644 compileall2.py %{buildroot}%{_rpmconfigdir}/redhat/
|
|||
- https://fedoraproject.org/wiki/Changes/PythonMacroError
|
||||
- Make %%python macros more consistent with %%python3 macros
|
||||
- Define %%python_platform (as a Python version agnostic option to %%python3_platform)
|
||||
- Add --no-index --no-warn-script-location pip options to %%pyX_install_wheel
|
||||
|
||||
* Wed Jul 08 2020 Miro Hrončok <mhroncok@redhat.com> - 3.9-5
|
||||
- Introduce %%python_extras_subpkg
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue