Fix deprecated top-level developer_name in AppData XML

This commit is contained in:
Benjamin A. Beasley 2023-11-09 11:19:05 -05:00
commit 409aded6e0
2 changed files with 28 additions and 0 deletions

25
135.patch Normal file
View file

@ -0,0 +1,25 @@
From 9160b997e28bb46731220bf966465bc521dc49bf Mon Sep 17 00:00:00 2001
From: "Benjamin A. Beasley" <code@musicinmybrain.net>
Date: Thu, 9 Nov 2023 11:14:43 -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.donadigo.appeditor.appdata.xml.in | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/data/com.github.donadigo.appeditor.appdata.xml.in b/data/com.github.donadigo.appeditor.appdata.xml.in
index 94e6c5c..567e86a 100644
--- a/data/com.github.donadigo.appeditor.appdata.xml.in
+++ b/data/com.github.donadigo.appeditor.appdata.xml.in
@@ -20,7 +20,9 @@
<provides>
<binary>com.github.donadigo.appeditor</binary>
</provides>
- <developer_name>Adam Bieńkowski</developer_name>
+ <developer>
+ <name>Adam Bieńkowski</name>
+ </developer>
<url type="homepage">https://github.com/donadigo/appeditor</url>
<url type="bugtracker">https://github.com/donadigo/appeditor/issues</url>
<url type="help">https://github.com/donadigo/appeditor</url>

View file

@ -23,6 +23,9 @@ Patch: appeditor-1.1.3-fix-flickering-titlebar.patch
# https://github.com/donadigo/appeditor/issues/121
# https://github.com/donadigo/appeditor/pull/122
Patch: %{url}/pull/122.patch
# Fix deprecated top-level developer_name in AppData XML
# https://github.com/donadigo/appeditor/pull/135
Patch: %{url}/pull/135.patch
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
ExcludeArch: %{ix86}