diff --git a/SPECS/python2-pip.spec b/SPECS/python2-pip.spec index 63aea87..fee97e2 100644 --- a/SPECS/python2-pip.spec +++ b/SPECS/python2-pip.spec @@ -19,7 +19,7 @@ Name: python2-%{srcname} # When updating, update the bundled libraries versions bellow! Version: 9.0.3 -Release: 18%{?dist} +Release: 19%{?dist} Summary: A tool for installing and managing Python 2 packages Group: Development/Libraries @@ -241,6 +241,9 @@ sed -i '1d' pip/__init__.py # Remove ordereddict as it is only required for python <= 2.6 rm pip/_vendor/ordereddict.py +# Remove windows executable binaries +rm -v pip/_vendor/distlib/*.exe +sed -i '/\.exe/d' setup.py %build export RHEL_ALLOW_PYTHON2_FOR_BUILD=1 @@ -356,6 +359,10 @@ py.test-%{python2_version} -m 'not network' %endif %changelog +* Thu Oct 14 2021 Charalampos Stratakis - 9.0.3-19 +- Remove bundled windows executables +- Resolves: rhbz#2006792 + * Wed Aug 19 2020 Tomas Orsava - 9.0.3-18 - Patch for pip install allow directory traversal, leading to arbitrary file write Resolves: rhbz#1870184