- Remove .exe files from package (bsc#1212015)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=105
This commit is contained in:
Daniel Garcia 2023-06-12 10:53:56 +00:00 committed by Git OBS Bridge
parent 6075e156e4
commit 82592cacee
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 12 10:50:56 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
- Remove .exe files from package (bsc#1212015)
-------------------------------------------------------------------
Tue May 2 10:12:33 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>

View File

@ -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