1
0
Dominique Leuenberger 2023-01-28 18:59:55 +00:00 committed by Git OBS Bridge
commit 4672a21933
4 changed files with 24 additions and 3 deletions

View File

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

View File

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