Remove bundled windows executables
Resolves: rhbz#2006795
This commit is contained in:
parent
75ed7533ad
commit
d58b0e240f
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
Name: python-%{srcname}
|
Name: python-%{srcname}
|
||||||
Version: %{base_version}%{?prerel:~%{prerel}}
|
Version: %{base_version}%{?prerel:~%{prerel}}
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: A tool for installing and managing Python packages
|
Summary: A tool for installing and managing Python packages
|
||||||
|
|
||||||
# We bundle a lot of libraries with pip, which itself is under MIT license.
|
# We bundle a lot of libraries with pip, which itself is under MIT license.
|
||||||
@ -259,6 +259,9 @@ ln -s %{python_wheeldir} tests/data/common_wheels
|
|||||||
# Remove shebang from files in bundled chardet
|
# Remove shebang from files in bundled chardet
|
||||||
grep -lr "^#\!/usr/bin/env python" src/pip/_vendor/chardet/ | xargs sed -i "1d"
|
grep -lr "^#\!/usr/bin/env python" src/pip/_vendor/chardet/ | xargs sed -i "1d"
|
||||||
|
|
||||||
|
# Remove windows executable binaries
|
||||||
|
rm -v src/pip/_vendor/distlib/*.exe
|
||||||
|
sed -i '/\.exe/d' setup.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build_wheel
|
%py3_build_wheel
|
||||||
@ -394,6 +397,10 @@ pytest_k='not completion and
|
|||||||
%{python_wheeldir}/%{python_wheelname}
|
%{python_wheeldir}/%{python_wheelname}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 06 2021 Charalampos Stratakis <cstratak@redhat.com> - 21.2.3-3
|
||||||
|
- Remove bundled windows executables
|
||||||
|
- Resolves: rhbz#2006795
|
||||||
|
|
||||||
* Mon Sep 13 2021 Miro Hrončok <mhroncok@redhat.com> - 21.2.3-2
|
* Mon Sep 13 2021 Miro Hrončok <mhroncok@redhat.com> - 21.2.3-2
|
||||||
- Fix broken uninstallation by a bogus downstream patch
|
- Fix broken uninstallation by a bogus downstream patch
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user