forked from pool/python-pip
		
	Accepting request 1092512 from devel:languages:python
- Remove .exe files from package (bsc#1212015) OBS-URL: https://build.opensuse.org/request/show/1092512 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pip?expand=0&rev=60
This commit is contained in:
		| @@ -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> | ||||
|  | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user