diff --git a/PyQt5-Timeline.patch b/PyQt5-Timeline.patch new file mode 100644 index 0000000..df76a17 --- /dev/null +++ b/PyQt5-Timeline.patch @@ -0,0 +1,12 @@ +diff -up PyQt5_gpl-5.9.2/sip/QtCore/QtCoremod.sip.qt_tags PyQt5_gpl-5.9.2/sip/QtCore/QtCoremod.sip +--- PyQt5_gpl-5.9.2/sip/QtCore/QtCoremod.sip.qt_tags 2017-11-23 08:44:13.000000000 -0600 ++++ PyQt5_gpl-5.9.2/sip/QtCore/QtCoremod.sip 2018-01-08 10:28:31.144420871 -0600 +@@ -22,7 +22,7 @@ + + %Module(name=PyQt5.QtCore, call_super_init=True, default_VirtualErrorHandler=PyQt5, keyword_arguments="Optional", use_limited_api=True) + +-%Timeline {Qt_5_0_0 Qt_5_0_1 Qt_5_0_2 Qt_5_1_0 Qt_5_1_1 Qt_5_2_0 Qt_5_2_1 Qt_5_3_0 Qt_5_3_1 Qt_5_3_2 Qt_5_4_0 Qt_5_4_1 Qt_5_4_2 Qt_5_5_0 Qt_5_5_1 Qt_5_6_0 Qt_5_6_1 Qt_5_6_2 Qt_5_6_3 Qt_5_6_4 Qt_5_6_5 Qt_5_6_6 Qt_5_6_7 Qt_5_6_8 Qt_5_6_9 Qt_5_7_0 Qt_5_7_1 Qt_5_8_0 Qt_5_8_1 Qt_5_9_0 Qt_5_9_1 Qt_5_9_2 Qt_5_9_3} ++%Timeline {Qt_5_0_0 Qt_5_0_1 Qt_5_0_2 Qt_5_1_0 Qt_5_1_1 Qt_5_2_0 Qt_5_2_1 Qt_5_3_0 Qt_5_3_1 Qt_5_3_2 Qt_5_4_0 Qt_5_4_1 Qt_5_4_2 Qt_5_5_0 Qt_5_5_1 Qt_5_6_0 Qt_5_6_1 Qt_5_6_2 Qt_5_6_3 Qt_5_6_4 Qt_5_6_5 Qt_5_6_6 Qt_5_6_7 Qt_5_6_8 Qt_5_6_9 Qt_5_7_0 Qt_5_7_1 Qt_5_8_0 Qt_5_8_1 Qt_5_9_0 Qt_5_9_1 Qt_5_9_2 Qt_5_9_3 Qt_5_9_4 Qt_5_10_0 Qt_5_10_1} + + %Platforms {WS_X11 WS_WIN WS_MACX} + diff --git a/python-qt5.spec b/python-qt5.spec index 43ec8ef..c36b144 100644 --- a/python-qt5.spec +++ b/python-qt5.spec @@ -19,7 +19,7 @@ Summary: PyQt5 is Python bindings for Qt5 Name: python-qt5 Version: 5.9.2 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv3 Url: http://www.riverbankcomputing.com/software/pyqt/ @@ -38,6 +38,8 @@ Source4: pyuic5.sh ## upstreamable patches Patch0: python-qt5_sipdir.patch +# support newer Qt5 releases than just 5.9.3 +Patch1: PyQt5-Timeline.patch BuildRequires: chrpath BuildRequires: findutils @@ -210,6 +212,7 @@ Requires: python3-qt5%{?_isa} = %{version}-%{release} %setup -q -n PyQt5_gpl-%{version}%{?snap:-snapshot-%{snap}} %patch0 -p1 +%patch1 -p1 %build @@ -460,6 +463,9 @@ sed -i \ %changelog +* Mon Jan 08 2018 Rex Dieter - 5.9.2-5 +- explicitly support Qt5 newer than just 5.9.3 (+5.9.4,5.10.0,5.10.1) + * Wed Dec 20 2017 Jan Grulich - 5.9.2-4 - rebuild (qt5)