From 97d785b58d894faa331c86f43ffdb59dd7bfa34f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 20 Sep 2019 01:32:33 +0200 Subject: [PATCH] Don't use --strip-file-prefix with pip, the custom option is gone --- macros.pyproject | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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