Drop --strip-file-prefix option from %pyX_install_wheel macros, it is not needed

A custom pip patch was needed for this option, but the RECORD files are
relative, so no stripping is needed. We will eventually drop the patch.
This commit is contained in:
Miro Hrončok 2019-08-26 09:34:39 +02:00 committed by churchyard
parent 84ed1ab69d
commit f09ccd21f5
3 changed files with 6 additions and 3 deletions

View File

@ -41,5 +41,5 @@
}
%py2_install_wheel() %{expand:\\\
pip%{python2_version} install -I dist/%{1} --root %{buildroot} --strip-file-prefix %{buildroot} --no-deps
pip%{python2_version} install -I dist/%{1} --root %{buildroot} --no-deps
}

View File

@ -35,5 +35,5 @@
}
%py3_install_wheel() %{expand:\\\
pip%{python3_version} install -I dist/%{1} --root %{buildroot} --strip-file-prefix %{buildroot} --no-deps
pip%{python3_version} install -I dist/%{1} --root %{buildroot} --no-deps
}

View File

@ -1,6 +1,6 @@
Name: python-rpm-macros
Version: 3
Release: 47%{?dist}
Release: 48%{?dist}
Summary: The unversioned Python RPM macros
# macros: MIT, compileall2.py: PSFv2
@ -78,6 +78,9 @@ install -m 644 %{SOURCE5} \
%changelog
* Mon Aug 26 2019 Miro Hrončok <mhroncok@redhat.com> - 3-48
- Drop --strip-file-prefix option from %%pyX_install_wheel macros, it is not needed
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3-47
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild