1
0

Accepting request 1060645 from home:pgajdos

- add repack script, do not include packaging/ dir in sources
  [gh#wxWidgets/Phoenix#2105], [bsc#670523]

OBS-URL: https://build.opensuse.org/request/show/1060645
OBS-URL: https://build.opensuse.org/package/show/X11:wxWidgets/python-wxPython?expand=0&rev=36
This commit is contained in:
Stefan Brüns 2023-01-24 13:51:13 +00:00 committed by Git OBS Bridge
parent 8d78255baa
commit 31143cb62e
4 changed files with 16 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jan 17 13:51:03 UTC 2023 - pgajdos@suse.com
- add repack script, do not include packaging/ dir in sources
[gh#wxWidgets/Phoenix#2105], [bsc#670523]
-------------------------------------------------------------------
Mon Dec 5 13:07:46 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>

View File

@ -185,6 +185,10 @@ Provides translations to the package %{name}.
%prep
%autosetup -n wxPython-%{version} -p1
# https://github.com/wxWidgets/Phoenix/issues/2105
# https://bugzilla.suse.com/show_bug.cgi?id=670523
find -iname *.dll | grep . && \
{ echo "please run repack script (gh#2105)"; exit 1; }
# Lower minimum Python version
sed -i -e '/check_python_version/ s@3,7,0@3,6,0@' wscript

4
repack Normal file
View File

@ -0,0 +1,4 @@
#!/bin/sh
tar -xzf wxPython-*.gz
rm -r wxPython-*/packaging
tar -czf wxPython-*.gz wxPython-*/

BIN
wxPython-4.2.0.tar.gz (Stored with Git LFS)

Binary file not shown.