Drop unused patch and update %files section

This commit is contained in:
Jan Grulich 2022-11-01 11:00:26 +01:00
parent 2a1ce88b90
commit e3a89f2873
2 changed files with 1 additions and 16 deletions

View File

@ -1,13 +0,0 @@
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

@ -25,8 +25,6 @@ Source0: https://download.qt.io/development_releases/qt/%{majmin}/%{qt_version}/
Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodules/%{qt_module}-everywhere-src-%{version}.tar.xz
%endif
Patch0: %{name}-gcc11.patch
# filter qml provides
%global __provides_exclude_from ^%{_qt6_archdatadir}/qml/.*\\.so$
@ -56,7 +54,6 @@ Requires: qt6-qtbase-devel%{?_isa}
%package examples
Summary: Programming examples for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
# BuildRequires: qt6-qtconnectivity-devel >= %{version}
%description examples
%{summary}.
%endif
@ -105,6 +102,7 @@ popd
%dir %{_qt6_libdir}/cmake/Qt6Bluetooth/
%dir %{_qt6_libdir}/cmake/Qt6Nfc/
%{_qt6_libdir}/cmake/Qt6/FindBlueZ.cmake
%{_qt6_libdir}/cmake/Qt6/FindPCSCLite.cmake
%{_qt6_libdir}/cmake/Qt6BuildInternals/StandaloneTests/*.cmake
%{_qt6_libdir}/cmake/Qt6Bluetooth/*.cmake
%{_qt6_libdir}/cmake/Qt6Nfc/*.cmake