diff --git a/0001-Fix-build-with-Qt-6.8.2.patch b/0001-Fix-build-with-Qt-6.8.2.patch new file mode 100644 index 0000000..9df50b9 --- /dev/null +++ b/0001-Fix-build-with-Qt-6.8.2.patch @@ -0,0 +1,30 @@ +From ee6c2c30eca67004e2b05f55ee1d82c3ab44b966 Mon Sep 17 00:00:00 2001 +From: Christophe Marin +Date: Sun, 2 Feb 2025 12:59:19 +0100 +Subject: [PATCH] Fix build with Qt 6.8.2 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Fixes: +/home/abuild/rpmbuild/BUILD/python-PyQt6-6.8.0-build/PyQt6-6.8.0/build/QtCore/sipQtCoreQStringConverterBase.cpp:58:52: error: use of deleted function ‘constexpr QStringConverterBase::QStringConverterBase(const QStringConverterBase&)’ +--- + sip/QtCore/qstringconverter_base.sip | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/sip/QtCore/qstringconverter_base.sip b/sip/QtCore/qstringconverter_base.sip +index d0c790f..6f7c301 100644 +--- a/sip/QtCore/qstringconverter_base.sip ++++ b/sip/QtCore/qstringconverter_base.sip +@@ -22,7 +22,7 @@ + + %If (Qt_6_4_0 -) + +-class QStringConverterBase ++class QStringConverterBase /NoDefaultCtors/ + { + %TypeHeaderCode + #include +-- +2.48.1 + diff --git a/python-PyQt6.changes b/python-PyQt6.changes index 1651720..6e06dd6 100644 --- a/python-PyQt6.changes +++ b/python-PyQt6.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Feb 2 12:00:43 UTC 2025 - Christophe Marin + +- Add build fix: + * 0001-Fix-build-with-Qt-6.8.2.patch + ------------------------------------------------------------------- Wed Jan 8 15:33:06 UTC 2025 - Ben Greiner diff --git a/python-PyQt6.spec b/python-PyQt6.spec index 0dc2295..43bede4 100644 --- a/python-PyQt6.spec +++ b/python-PyQt6.spec @@ -32,6 +32,8 @@ Source: https://files.pythonhosted.org/packages/source/P/PyQt6/PyQt6-%{v Patch0: disable-rpaths.diff # PATCH-FIX-OPENSUSE - install binary dbus mainloop integration in arch dependent directory Patch1: 0001-Use-a-noarch-wrapper-for-dbus-mainloop-integration.patch +# PATCH-FIX-UPSTREAM - fix build failure with Qt 6.8.2 +Patch2: 0001-Fix-build-with-Qt-6.8.2.patch BuildRequires: %{python_module PyQt6-sip >= 13.8} BuildRequires: %{python_module dbus-python-devel >= 0.8} BuildRequires: %{python_module devel >= 3.9}