Hello community,

here is the log from the commit of package python-qt3d-qt5 for openSUSE:Factory 
checked in at 2020-10-07 14:17:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-qt3d-qt5 (Old)
 and      /work/SRC/openSUSE:Factory/.python-qt3d-qt5.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-qt3d-qt5"

Wed Oct  7 14:17:04 2020 rev:6 rq:839653 version:5.15.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-qt3d-qt5/python-qt3d-qt5.changes  
2020-09-15 16:28:51.374629305 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-qt3d-qt5.new.4249/python-qt3d-qt5.changes    
    2020-10-07 14:17:28.069437081 +0200
@@ -1,0 +2,6 @@
+Sat Sep 26 18:09:37 UTC 2020 - Benjamin Greiner <[email protected]>
+
+- Fix openSUSE:Leap:15.1:Update failure: Qt3DAnimation is only 
+  built for Qt >= 5.10
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-qt3d-qt5.spec ++++++
--- /var/tmp/diff_new_pack.TgrXzm/_old  2020-10-07 14:17:28.801437662 +0200
+++ /var/tmp/diff_new_pack.TgrXzm/_new  2020-10-07 14:17:28.805437666 +0200
@@ -16,6 +16,14 @@
 #
 
 
+# This definition is for projects which include the PyQt5 packages in recent
+# versions but use default (old) Qt libraries e.g. from Leap, which does not
+# have Qt >= 5.10. In that case, no Qt3DAnimation module will be built per
+# sip %%If directives in the sip/Qt3DAnimation/*.sip files
+%if %{pkg_vcmp libQt53DAnimation-devel >= 5.10}
+%define have_qt3danimation 1
+%endif
+
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-qt3d-qt5
 Version:        5.15.1
@@ -85,6 +93,7 @@
 %build
 %{python_expand pushd build_%{$python_bin_suffix}
 $python configure.py \
+    -w \
     --no-dist-info \
     --no-stubs \
     --qmake=%{_bindir}/qmake-qt5
@@ -106,7 +115,7 @@
 %license LICENSE
 %doc NEWS README
 %dir %{python_sitearch}/PyQt5/
-%{python_sitearch}/PyQt5/Qt3DAnimation.so
+%{?have_qt3danimation:%{python_sitearch}/PyQt5/Qt3DAnimation.so}
 %{python_sitearch}/PyQt5/Qt3DCore.so
 %{python_sitearch}/PyQt5/Qt3DExtras.so
 %{python_sitearch}/PyQt5/Qt3DInput.so
@@ -121,7 +130,7 @@
 
 %files -n %{name}-sip
 %license LICENSE
-%{_datadir}/sip/PyQt5/Qt3DAnimation/
+%{?have_qt3danimation:%{_datadir}/sip/PyQt5/Qt3DAnimation/}
 %{_datadir}/sip/PyQt5/Qt3DCore/
 %{_datadir}/sip/PyQt5/Qt3DExtras/
 %{_datadir}/sip/PyQt5/Qt3DInput/


Reply via email to