diff --git a/python-pip.changes b/python-pip.changes index c02fd11..07525d6 100644 --- a/python-pip.changes +++ b/python-pip.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 12 10:50:56 UTC 2023 - Daniel Garcia + +- Remove .exe files from package (bsc#1212015) + ------------------------------------------------------------------- Tue May 2 10:12:33 UTC 2023 - Daniel Garcia diff --git a/python-pip.spec b/python-pip.spec index d1165c8..f48f232 100644 --- a/python-pip.spec +++ b/python-pip.spec @@ -116,6 +116,11 @@ for f in $(find src -name \*.py -exec grep -l '^#!%{_bindir}/env' {} \;); do sed -i 's|^#!%{_bindir}/env .*$||g' $f done +# Remove windows executable binaries +# bsc#1212015 +rm -v src/pip/_vendor/distlib/*.exe +sed -i '/\.exe/d' setup.py + %build %if ! %{with wheel} %python_build