Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-wxPython for openSUSE:Factory
checked in at 2021-04-29 22:44:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-wxPython (Old)
and /work/SRC/openSUSE:Factory/.python-wxPython.new.1947 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-wxPython"
Thu Apr 29 22:44:38 2021 rev:10 rq:888846 version:4.1.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-wxPython/python-wxPython.changes
2020-10-02 17:16:49.354109919 +0200
+++
/work/SRC/openSUSE:Factory/.python-wxPython.new.1947/python-wxPython.changes
2021-04-29 22:44:51.124178549 +0200
@@ -1,0 +2,9 @@
+Wed Mar 31 01:32:34 UTC 2021 - Steve Kowalik <[email protected]>
+
+- Don't build using Python 3.6 for test package, when that gets reenabled.
+- Since build.py install helpfully installs every built shared object
+ under site-package directories, remove those not for that version of
+ Python. (bsc#1182822)
+- Correct python uninstall alternatives to list all of them, not just one.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-wxPython.spec ++++++
--- /var/tmp/diff_new_pack.7ayFTY/_old 2021-04-29 22:44:51.864175254 +0200
+++ /var/tmp/diff_new_pack.7ayFTY/_new 2021-04-29 22:44:51.868175236 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-wxPython
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -27,6 +27,10 @@
%else
%define wx_args --gtk3 -v
%endif
+%if %{with test}
+# No numpy for Python 3.6
+%define skip_python36 1
+%endif
Name: python-wxPython
Version: 4.1.0
Release: 0
@@ -75,7 +79,7 @@
%endif
Requires: python-six
Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
Conflicts: python-wxWidgets
Provides: python-wxWidgets = %{version}
%if %{with test}
@@ -128,6 +132,9 @@
%install
%python_expand $python build.py install %{wx_args} --destdir=%{buildroot}
--extra_setup="-O1 --force"
+# build.py install helpfully installs built shared libraries for all versions,
+# so remove those for other versions.
+%{python_expand find %{buildroot}%{$python_sitearch} -name *.so ! -name
*cpython-%{$python_version_nodots}*so -delete}
%python_expand %fdupes %{buildroot}%{$python_sitearch}
@@ -173,7 +180,7 @@
%{python_install_alternative pywxrc helpviewer img2png img2py img2xpm pycrust
pyshell pyslices pyslicesshell wxdemo wxdocs wxget}
%postun
-%python_uninstall_alternative pywxrc
+%{python_uninstall_alternative pywxrc helpviewer img2png img2py img2xpm
pycrust pyshell pyslices pyslicesshell wxdemo wxdocs wxget}
%files %{python_files}
%license LICENSE.txt license/*.txt