Hello community,

here is the log from the commit of package python-pivy for openSUSE:Factory 
checked in at 2018-01-22 16:19:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pivy (Old)
 and      /work/SRC/openSUSE:Factory/.python-pivy.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pivy"

Mon Jan 22 16:19:42 2018 rev:4 rq:567966 version:0.6.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pivy/python-pivy.changes  2017-12-19 
10:58:16.761953163 +0100
+++ /work/SRC/openSUSE:Factory/.python-pivy.new/python-pivy.changes     
2018-01-22 16:20:53.687265141 +0100
@@ -1,0 +2,7 @@
+Wed Jan  3 10:24:03 UTC 2018 - [email protected]
+
+- Fix build failure when using more than one python version:
+  swig wrapper files were only generated the first time and
+  and then kept for subsequent builds.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pivy.spec ++++++
--- /var/tmp/diff_new_pack.NP7gS5/_old  2018-01-22 16:20:54.327235208 +0100
+++ /var/tmp/diff_new_pack.NP7gS5/_new  2018-01-22 16:20:54.335234834 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pivy
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,8 +17,6 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-#FIXME Does not build with python2 for unknown reasons
-%define skip_python2 1
 
 Name:           python-pivy
 Version:        0.6.2
@@ -38,6 +36,8 @@
 BuildRequires:  swig
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
+%python_subpackages
+
 %description
 Pivy is a Coin binding for Python. Coin is a high-level 3D graphics library
 with a C++ Application Programming Interface. Coin uses scene-graph data
@@ -57,14 +57,14 @@
 
 %build
 export CFLAGS="%{optflags}"
-%python_build
+%{python_build ; rm pivy/coin_wrap.cpp pivy/gui/soqt_wrap.cpp }
 
 %install
 %python_install
 
 %fdupes %{buildroot}%{python_sitelib}/pivy/
 
-%files
+%files %python_files
 %defattr(-,root,root,-)
 %doc AUTHORS HACKING LICENSE NEWS README.md THANKS
 %{python_sitelib}/pivy/


Reply via email to