diff --git a/qt5-qtconnectivity-gcc11.patch b/qt5-qtconnectivity-gcc11.patch new file mode 100644 index 0000000000000000000000000000000000000000..d6175a2897b9cf8173ca79e4c3f4a6e7159c8b07 --- /dev/null +++ b/qt5-qtconnectivity-gcc11.patch @@ -0,0 +1,13 @@ +diff --git a/src/bluetooth/lecmaccalculator.cpp b/src/bluetooth/lecmaccalculator.cpp +index b150466..507603c 100644 +--- a/src/bluetooth/lecmaccalculator.cpp ++++ b/src/bluetooth/lecmaccalculator.cpp +@@ -38,6 +38,8 @@ + ****************************************************************************/ + #include "lecmaccalculator_p.h" + ++#include ++ + #include "bluez/bluez_data_p.h" + + #include diff --git a/qt5-qtconnectivity.spec b/qt5-qtconnectivity.spec index d937f7adae5240fbad4a1e64e69fbc541374f6d5..65954a4a87c3462603ac440eb913229f89bbd3fb 100644 --- a/qt5-qtconnectivity.spec +++ b/qt5-qtconnectivity.spec @@ -1,18 +1,22 @@ # spec file for qt5-qtconnectivity %global qt_module qtconnectivity -Name: qt5-%{qt_module} -Version: 5.11.1 -Release: 4 -Summary: QtConnectivity components for qt5 -License: LGPLv2 with exceptions or GPLv3 with exceptions -URL: http://qt.io -%global major_minor %(echo %{version} | cut -d. -f1-2) -Source0: https://download.qt.io/new_archive/qt/%{major_minor}/%{version}/submodules/%{qt_module}-everywhere-src-%{version}.tar.xz +Name: qt5-%{qt_module} +Version: 5.15.2 +Release: 1 +Summary: Qt5 - Connectivity components +License: LGPLv2 with exceptions or GPLv3 with exceptions +Url: http://qt.io +%global majmin %(echo %{version} | cut -d. -f1-2) +Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodules/%{qt_module}-everywhere-src-%{version}.tar.xz +Patch0: %{name}-gcc11.patch %global __provides_exclude_from ^%{_qt5_archdatadir}/qml/.*\\.so$ +BuildRequires: make BuildRequires: qt5-qtbase-devel >= %{version} +BuildRequires: qt5-qtbase-private-devel >= %{version} +%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}} BuildRequires: qt5-qtdeclarative-devel >= %{version} BuildRequires: pkgconfig(bluez) @@ -37,6 +41,7 @@ Examples files for %{name} %prep %setup -q -n %{qt_module}-everywhere-src-%{version} +%patch0 -p1 %build @@ -106,6 +111,9 @@ popd %changelog +* Wed Oct 13 2021 peijiankang - 5.15.2-4 +- update to upstream version 5.15.2 + * Mon Sep 14 2020 liuweibo - 5.11.1-4 - Fix Source0 diff --git a/qt5-qtconnectivity.yaml b/qt5-qtconnectivity.yaml index 26bf72a65e0723a9b24b4e4dc8eb610ae27097ae..04aa1329f84d51db351bf6f48f5b58d289bf7cf9 100644 --- a/qt5-qtconnectivity.yaml +++ b/qt5-qtconnectivity.yaml @@ -1,4 +1,4 @@ version_control: git src_repo: https://code.qt.io/qt/qtconnectivity.git -tag_prefix: ^v -seperator: . +tag_prefix: "^v" +separator: "." diff --git a/qtconnectivity-everywhere-src-5.11.1.tar.xz b/qtconnectivity-everywhere-src-5.15.2.tar.xz similarity index 45% rename from qtconnectivity-everywhere-src-5.11.1.tar.xz rename to qtconnectivity-everywhere-src-5.15.2.tar.xz index 373ee7c7a386f51db383d290d9116e63d7fdca5d..f4dc5bc4ce78255e42e7b2c5734f0c5bff2e4158 100644 Binary files a/qtconnectivity-everywhere-src-5.11.1.tar.xz and b/qtconnectivity-everywhere-src-5.15.2.tar.xz differ