From d3f6b95d9ce73fc6e947fae0ad423572be447654 Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Aug 11 2021 16:57:08 +0000 Subject: Adapt wheel installation to be more like %pyproject_install, use %python3 --- diff --git a/python-pip.spec b/python-pip.spec index f92bb33..63d21cb 100644 --- a/python-pip.spec +++ b/python-pip.spec @@ -270,16 +270,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}'