diff --git a/pyqt6-fix-build-with-qt-6.6.0.patch b/pyqt6-fix-build-with-qt-6.6.0.patch new file mode 100644 index 0000000..87832bb --- /dev/null +++ b/pyqt6-fix-build-with-qt-6.6.0.patch @@ -0,0 +1,12 @@ +diff -ru PyQt6-6.5.2.orig/sip/QtSql/qsqlresult.sip PyQt6-6.5.2/sip/QtSql/qsqlresult.sip +--- PyQt6-6.5.2.orig/sip/QtSql/qsqlresult.sip 2023-10-11 16:46:02.317332289 +0200 ++++ PyQt6-6.5.2/sip/QtSql/qsqlresult.sip 2023-10-11 17:26:17.722706788 +0200 +@@ -63,7 +63,7 @@ + QSql::ParamType bindValueType(const QString &placeholder) const; + QSql::ParamType bindValueType(int pos) const; + int boundValueCount() const; +- QList &boundValues() const; ++ QVariantList boundValues() const; + QString executedQuery() const; + QString boundValueName(int pos) const; + void clear(); diff --git a/python-pyqt6.spec b/python-pyqt6.spec index 18dc5ba..c9329ad 100644 --- a/python-pyqt6.spec +++ b/python-pyqt6.spec @@ -13,6 +13,7 @@ Url: http://www.riverbankcomputing.com/software/pyqt/ Source0: https://pypi.python.org/packages/source/P/PyQt6/PyQt6-%{version}.tar.gz Source1: macros.pyqt6 +Patch0: pyqt6-fix-build-with-qt-6.6.0.patch BuildRequires: make BuildRequires: chrpath