From 97d785b58d894faa331c86f43ffdb59dd7bfa34f Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Sep 19 2019 23:32:33 +0000 Subject: Don't use --strip-file-prefix with pip, the custom option is gone --- diff --git a/macros.pyproject b/macros.pyproject index 1203621..c826123 100644 --- a/macros.pyproject +++ b/macros.pyproject @@ -5,7 +5,7 @@ CFLAGS="${CFLAGS:-${RPM_OPT_FLAGS}}" LDFLAGS="${LDFLAGS:-${RPM_LD_FLAGS}}" \\\ %pyproject_install() %{expand:\\\ -%{__python3} -m pip install --root %{buildroot} --strip-file-prefix %{buildroot} --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location ./*.whl +%{__python3} -m pip install --root %{buildroot} --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location ./*.whl if [ -d %{buildroot}%{_bindir} ]; then pathfix.py -pni "%{__python3} %{py3_shbang_opts}" %{buildroot}%{_bindir}/* fi