- (bsc#1222509) Remove *.exe and *.dll files from bundled wheels.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=180
This commit is contained in:
parent
f0704e96b5
commit
db43d93a80
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 9 19:37:17 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- (bsc#1222509) Remove *.exe and *.dll files from bundled wheels.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 24 00:43:14 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
|
@ -190,6 +190,7 @@ BuildRequires: netcfg
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: xz
|
||||
BuildRequires: zip
|
||||
BuildRequires: pkgconfig(bzip2)
|
||||
BuildRequires: pkgconfig(expat)
|
||||
BuildRequires: pkgconfig(libffi)
|
||||
@ -447,6 +448,12 @@ other applications.
|
||||
%patch -P 42 -p1
|
||||
%patch -P 43 -p1
|
||||
|
||||
# Remove *.exe files from bundled wheels
|
||||
for ziparch in Lib/ensurepip/_bundled/pip-23.0.1-py3-none-any.whl \
|
||||
Lib/ensurepip/_bundled/setuptools-58.1.0-py3-none-any.whl ; do
|
||||
zip -vd $ziparch '*.exe' '*.dll'
|
||||
done
|
||||
|
||||
# drop Autoconf version requirement
|
||||
sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user