forked from pool/python-wxPython
Accepting request 1061419 from X11:wxWidgets
OBS-URL: https://build.opensuse.org/request/show/1061419 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wxPython?expand=0&rev=16
This commit is contained in:
commit
4672a21933
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 26 09:14:45 UTC 2023 - pgajdos@suse.com
|
||||
|
||||
- add repack script to sources in spec file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
@ -87,8 +87,10 @@ Summary: The "Phoenix" variant of the wxWidgets Python bindings
|
||||
License: GPL-2.0-or-later
|
||||
Group: System/Libraries
|
||||
URL: https://github.com/wxWidgets/Phoenix
|
||||
Source: https://files.pythonhosted.org/packages/source/w/wxPython/wxPython-%{version}.tar.gz
|
||||
# repacked https://files.pythonhosted.org/packages/source/w/wxPython/wxPython-%%{version}.tar.gz
|
||||
Source0: wxPython-%{version}.tar.gz
|
||||
Source1: python-wxPython-rpmlintrc
|
||||
Source2: repack
|
||||
# PATCH-FIX-OPENSUSE
|
||||
Patch1: use_stl_build.patch
|
||||
# PATCH-FIX-UPSTREAM
|
||||
@ -185,6 +187,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
4
repack
Normal 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)
BIN
wxPython-4.2.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
Loading…
Reference in New Issue
Block a user