Hello community,
here is the log from the commit of package python-wxWidgets-3_0 for
openSUSE:Factory checked in at 2017-11-10 14:37:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-wxWidgets-3_0 (Old)
and /work/SRC/openSUSE:Factory/.python-wxWidgets-3_0.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-wxWidgets-3_0"
Fri Nov 10 14:37:46 2017 rev:6 rq:538794 version:3.0.2.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-wxWidgets-3_0/python-wxWidgets-3_0.changes
2017-02-21 13:49:46.949149142 +0100
+++
/work/SRC/openSUSE:Factory/.python-wxWidgets-3_0.new/python-wxWidgets-3_0.changes
2017-11-10 14:37:49.238547208 +0100
@@ -1,0 +2,7 @@
+Fri Nov 3 12:19:45 UTC 2017 - [email protected]
+
+- Explicitly require python2
+- Provide naming consistent with python singlespec
+- Do not use py_requires as it is not needed anymore
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-wxWidgets-3_0.spec ++++++
--- /var/tmp/diff_new_pack.sMQicH/_old 2017-11-10 14:37:50.990483892 +0100
+++ /var/tmp/diff_new_pack.sMQicH/_new 2017-11-10 14:37:50.994483748 +0100
@@ -40,8 +40,8 @@
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: perl
-BuildRequires: python-devel
-BuildRequires: python-xml
+BuildRequires: python2-devel
+BuildRequires: python2-xml
BuildRequires: wxWidgets-3_0-devel
BuildRequires: xz
#Requires: wxWidgets-3_0 = %(rpm -q --qf="%%VERSION" wxWidgets-3_0)
@@ -55,8 +55,9 @@
# In fact it should be >= %version but only version < 3.1
Recommends: %name-lang = %version
Provides: python-wxWidgets = %version
+Provides: python2-wxWidgets = %version
Conflicts: otherproviders(python-wxWidgets)
-%py_requires
+Conflicts: otherproviders(python2-wxWidgets)
%description
wxWidgets is a free C++ library for cross-platform GUI.
@@ -101,7 +102,7 @@
mkdir -p include/wx
mv wxpyinc include/wx/wxPython
-python setup.py build
+python2 setup.py build
popd
%install
@@ -111,7 +112,7 @@
# The version mismatch causes a warning, but it might be fine if we ensure that
# the python module runs against the precise version *it was built with*.
pushd wxPython/
-python setup.py install --prefix="%_prefix" --root="%buildroot"
+python2 setup.py install --prefix="%_prefix" --root="%buildroot"
popd
# Create %%lang tags for mo files in non-standard path: