Adapt wheel installation to be more like %pyproject_install, use %python3
Related: rhbz#1932713
This commit is contained in:
parent
6c4d14d340
commit
c2ef944b25
@ -273,16 +273,20 @@ rm -rf docs/build/html/{.doctrees,.buildinfo}
|
||||
|
||||
|
||||
%install
|
||||
# The following is similar to %%py3_install_wheel, but we don't have
|
||||
# The following is similar to %%pyproject_install, but we don't have
|
||||
# /usr/bin/pip yet, so we install using the wheel directly.
|
||||
# (This is not standard wheel usage, but the pip wheel supports it -- see
|
||||
# pip/__main__.py)
|
||||
%{__python3} dist/%{python_wheelname}/pip install \
|
||||
%{python3} dist/%{python_wheelname}/pip install \
|
||||
--root %{buildroot} \
|
||||
--no-deps \
|
||||
--no-cache-dir \
|
||||
--no-index \
|
||||
--disable-pip-version-check \
|
||||
--progress-bar off \
|
||||
--verbose \
|
||||
--ignore-installed \
|
||||
--no-warn-script-location \
|
||||
--no-index \
|
||||
--no-cache-dir \
|
||||
--find-links dist \
|
||||
'pip==%{upstream_version}'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user