diff --git a/0001-Cuttlefish-Make-AppStream-file-valid.patch b/0001-Cuttlefish-Make-AppStream-file-valid.patch new file mode 100644 index 0000000..375f6cb --- /dev/null +++ b/0001-Cuttlefish-Make-AppStream-file-valid.patch @@ -0,0 +1,34 @@ +From c73dce7564f8da0f4f69c3edd47ca3ec70e09356 Mon Sep 17 00:00:00 2001 +From: Nate Graham +Date: Mon, 9 Dec 2019 22:33:54 +0100 +Subject: [PATCH] [Cuttlefish] Make AppStream file valid + +--- + cuttlefish/org.kde.cuttlefish.appdata.xml | 4 +--- + 1 file changed, 1 insertion(+), 3 deletions(-) + +diff --git a/cuttlefish/org.kde.cuttlefish.appdata.xml b/cuttlefish/org.kde.cuttlefish.appdata.xml +index 08c8e67..1609ef0 100644 +--- a/cuttlefish/org.kde.cuttlefish.appdata.xml ++++ b/cuttlefish/org.kde.cuttlefish.appdata.xml +@@ -3,6 +3,7 @@ + org.kde.plasma.cuttlefish + + ​ org.kde.cuttlefish.desktop ++ cuttlefish + ​ + CC0-1.0 + GPL-2.0+ +@@ -127,9 +128,6 @@ + + + KDE +- +- cuttlefish +- + + + +-- +2.23.0 + diff --git a/plasma5-sdk.changes b/plasma5-sdk.changes index 42df068..5b93fce 100644 --- a/plasma5-sdk.changes +++ b/plasma5-sdk.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Dec 10 00:27:01 UTC 2019 - Fabian Vogt + +- Add patch to fix the appstream file (boo#1158839): + * 0001-Cuttlefish-Make-AppStream-file-valid.patch + ------------------------------------------------------------------- Wed Dec 4 08:37:01 UTC 2019 - Fabian Vogt diff --git a/plasma5-sdk.spec b/plasma5-sdk.spec index 4529306..fb88dfa 100644 --- a/plasma5-sdk.spec +++ b/plasma5-sdk.spec @@ -29,6 +29,8 @@ Source: https://download.kde.org/stable/plasma/%{version}/plasma-sdk-%{v Source1: https://download.kde.org/stable/plasma/%{version}/plasma-sdk-%{version}.tar.xz.sig Source2: plasma.keyring %endif +# PATCH-FIX-UPSTREAM +Patch1: 0001-Cuttlefish-Make-AppStream-file-valid.patch BuildRequires: breeze5-icons BuildRequires: extra-cmake-modules >= 1.8.0 BuildRequires: kf5-filesystem @@ -83,7 +85,7 @@ test Plasma data engines without writing a Plasma applet. %lang_package %prep -%setup -q -n plasma-sdk-%{version} +%autosetup -p1 -n plasma-sdk-%{version} %build %cmake_kf5 -d build