- Add patch to fix the appstream file (boo#1158839):

* 0001-Cuttlefish-Make-AppStream-file-valid.patch

OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/plasma5-sdk?expand=0&rev=226
This commit is contained in:
Fabian Vogt 2019-12-10 19:17:55 +00:00 committed by Git OBS Bridge
parent 879da25d2b
commit 876143386c
3 changed files with 43 additions and 1 deletions

View File

@ -0,0 +1,34 @@
From c73dce7564f8da0f4f69c3edd47ca3ec70e09356 Mon Sep 17 00:00:00 2001
From: Nate Graham <nate@kde.org>
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 @@
<id>org.kde.plasma.cuttlefish</id>
<provides>
<id>org.kde.cuttlefish.desktop</id>
+ <binary>cuttlefish</binary>
</provides>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0+</project_license>
@@ -127,9 +128,6 @@
</screenshot>
</screenshots>
<project_group>KDE</project_group>
- <provides>
- <binary>cuttlefish</binary>
- </provides>
<releases>
<release version="5.17.4" date="2019-12-03"/>
<release version="5.17.3" date="2019-11-12"/>
--
2.23.0

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Dec 10 00:27:01 UTC 2019 - Fabian Vogt <fabian@ritter-vogt.de>
- 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 <fabian@ritter-vogt.de>

View File

@ -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