Fix deprecated top-level developer_name in AppData XML

This commit is contained in:
Benjamin A. Beasley 2023-11-09 12:10:08 -05:00
commit e8dfec0ad5
2 changed files with 30 additions and 1 deletions

25
387.patch Normal file
View file

@ -0,0 +1,25 @@
From 4ea9b15ab43828cc3753fa812c24affbfd40ad48 Mon Sep 17 00:00:00 2001
From: "Benjamin A. Beasley" <code@musicinmybrain.net>
Date: Thu, 9 Nov 2023 12:06:59 -0500
Subject: [PATCH] Fix deprecated top-level developer_name in AppData XML
Use the name element in a developer block instead, as recommended by appstreamcli 1.0.0.
---
data/com.github.alecaddd.sequeler.appdata.xml.in.in | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/data/com.github.alecaddd.sequeler.appdata.xml.in.in b/data/com.github.alecaddd.sequeler.appdata.xml.in.in
index 97314ff..2d25a3c 100644
--- a/data/com.github.alecaddd.sequeler.appdata.xml.in.in
+++ b/data/com.github.alecaddd.sequeler.appdata.xml.in.in
@@ -510,7 +510,9 @@
<image>https://raw.githubusercontent.com/Alecaddd/sequeler/master/data/assets/screenshots/sequeler-screenshot2.png</image>
</screenshot>
</screenshots>
- <developer_name>Alessandro Castellani</developer_name>
+ <developer>
+ <name>Alessandro Castellani</name>
+ </developer>
<launchable type="desktop-id">@appid@.desktop</launchable>
<url type="homepage">https://github.com/Alecaddd/sequeler</url>
<url type="donation">https://www.paypal.me/alecaddd</url>

View file

@ -22,6 +22,10 @@ License: %{shrink:
URL: https://github.com/Alecaddd/sequeler
Source: %{url}/archive/v%{version}/sequeler-%{version}.tar.gz
# Fix deprecated top-level developer_name in AppData XML
# https://github.com/Alecaddd/sequeler/pull/387
Patch: %{url}/pull/387.patch
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
ExcludeArch: %{ix86}
@ -142,7 +146,7 @@ Ypatybės:
%prep
%autosetup
%autosetup -p1
%build