update to upstream version 5.15.2

This commit is contained in:
pei-jiankang 2021-10-14 11:20:20 +08:00
parent 7f978fbbc6
commit 6c0cde144d
5 changed files with 31 additions and 10 deletions

View File

@ -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 <limits>
+
#include "bluez/bluez_data_p.h"
#include <QtCore/qbytearray.h>

View File

@ -2,17 +2,21 @@
%global qt_module qtconnectivity
Name: qt5-%{qt_module}
Version: 5.11.1
Release: 4
Summary: QtConnectivity components for qt5
Version: 5.15.2
Release: 1
Summary: Qt5 - Connectivity components
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
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 <peijiankang@kylinos.cn> - 5.15.2-4
- update to upstream version 5.15.2
* Mon Sep 14 2020 liuweibo <liuweibo10@huawei.com> - 5.11.1-4
- Fix Source0

View File

@ -1,4 +1,4 @@
version_control: git
src_repo: https://code.qt.io/qt/qtconnectivity.git
tag_prefix: ^v
seperator: .
tag_prefix: "^v"
separator: "."

Binary file not shown.