diff --git a/fix-handle-deps.patch b/fix-handle-deps.patch new file mode 100644 index 0000000..4f9c861 --- /dev/null +++ b/fix-handle-deps.patch @@ -0,0 +1,18 @@ +From: Fabian Vogt +Subject: Fix unfullfillable import in Handle.qml + +The module only exists in version 1.0. + +Index: qtquickcontrols-everywhere-src-5.15.2/src/extras/Private/Handle.qml +=================================================================== +--- qtquickcontrols-everywhere-src-5.15.2.orig/src/extras/Private/Handle.qml ++++ qtquickcontrols-everywhere-src-5.15.2/src/extras/Private/Handle.qml +@@ -41,7 +41,7 @@ import QtQuick 2.0 + import QtGraphicalEffects 1.0 + import QtQuick.Controls.Styles 1.4 + import QtQuick.Controls.Private 1.0 +-import QtQuick.Extras.Private 1.1 ++import QtQuick.Extras.Private 1.0 + import QtQuick.Extras.Private.CppUtils 1.0 + + Control { diff --git a/libqt5-qtquickcontrols.changes b/libqt5-qtquickcontrols.changes index 3afba85..2e1949a 100644 --- a/libqt5-qtquickcontrols.changes +++ b/libqt5-qtquickcontrols.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Sat Jan 16 16:25:13 UTC 2021 - Fabian Vogt + +- Add compatibility with qml-autoreqprov + +------------------------------------------------------------------- +Mon Dec 28 21:58:45 UTC 2020 - Fabian Vogt + +- Add patch to fix unfullfillable import: + * fix-handle-deps.patch + ------------------------------------------------------------------- Fri Nov 20 12:09:30 UTC 2020 - Fabian Vogt diff --git a/libqt5-qtquickcontrols.spec b/libqt5-qtquickcontrols.spec index 45f313d..dadb2c8 100644 --- a/libqt5-qtquickcontrols.spec +++ b/libqt5-qtquickcontrols.spec @@ -1,7 +1,7 @@ # # spec file for package libqt5-qtquickcontrols # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,6 +16,9 @@ # +# Internal QML imports of examples +%global __requires_exclude qmlimport\\(.*example.* + %define qt5_snapshot 0 %define base_name libqt5 %define real_version 5.15.2 @@ -29,6 +32,8 @@ License: LGPL-3.0-only OR (GPL-2.0-only OR GPL-3.0-or-later) Group: Development/Libraries/X11 URL: https://www.qt.io Source: https://download.qt.io/official_releases/qt/5.15/%{real_version}/submodules/%{tar_version}.tar.xz +# PATCH-FIX-OPENSUSE +Patch1: fix-handle-deps.patch BuildRequires: fdupes BuildRequires: libQt5Core-private-headers-devel >= %{version} BuildRequires: libQt5Gui-private-headers-devel >= %{version} @@ -51,8 +56,8 @@ can be used to build complete interfaces in Qt Quick. %package examples Summary: Qt5 quickcontrols examples -Group: Development/Libraries/X11 License: BSD-3-Clause +Group: Development/Libraries/X11 %description examples Examples for libqt5-qtquickcontrols module.