diff --git a/0001-Add-missing-module-identifier-to-qmldir.patch b/0001-Add-missing-module-identifier-to-qmldir.patch new file mode 100644 index 0000000..17dff14 --- /dev/null +++ b/0001-Add-missing-module-identifier-to-qmldir.patch @@ -0,0 +1,21 @@ +From 681d7041f0e9f50735bcea3b3b896e0155111950 Mon Sep 17 00:00:00 2001 +From: "Friedrich W. H. Kossebau" +Date: Tue, 15 Dec 2020 13:26:45 +0100 +Subject: [PATCH] Add missing module identifier to qmldir + +--- + declarativeimports/qml/qmldir | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/declarativeimports/qml/qmldir b/declarativeimports/qml/qmldir +index 79aae321..bfc17a4e 100644 +--- a/declarativeimports/qml/qmldir ++++ b/declarativeimports/qml/qmldir +@@ -1,3 +1,4 @@ ++module org.kde.games.core + plugin corebindingsplugin + + KgItem 0.1 KgItem.qml +-- +2.25.1 + diff --git a/libkdegames.changes b/libkdegames.changes index 688998a..d7017c8 100644 --- a/libkdegames.changes +++ b/libkdegames.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jan 15 17:17:29 UTC 2021 - Fabian Vogt + +- Add patch to make qmldir compatible with qml-autoreprov: + * 0001-Add-missing-module-identifier-to-qmldir.patch + ------------------------------------------------------------------- Tue Jan 5 12:27:01 UTC 2021 - Luca Beltrame diff --git a/libkdegames.spec b/libkdegames.spec index acd6262..f29acaf 100644 --- a/libkdegames.spec +++ b/libkdegames.spec @@ -1,7 +1,7 @@ # # spec file for package libkdegames # -# 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 @@ -29,6 +29,8 @@ Group: System/GUI/KDE URL: https://www.kde.org Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz Patch1: libkdegames-bnc793185.patch +# PATCH-FIX-UPSTREAM +Patch2: 0001-Add-missing-module-identifier-to-qmldir.patch BuildRequires: extra-cmake-modules BuildRequires: fdupes BuildRequires: kf5-filesystem @@ -77,8 +79,7 @@ This package contains data which is required by the KDE games library. %lang_package %prep -%setup -q -%patch1 -p1 +%autosetup -p1 # bnc#793185 rm -rf carddecks/svg-konqi-modern