From 622895f8664eacadd5a96a9d75feeeb80c2b927b Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Thu, 6 Oct 2022 12:24:04 +0200 Subject: [PATCH] Backport upstream patch to fix the release number in appdata --- ...ge-branch-appdata-releases-into-main.patch | 33 +++++++++++++++++++ gnome-text-editor.spec | 8 ++++- 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 0001-Merge-branch-appdata-releases-into-main.patch diff --git a/0001-Merge-branch-appdata-releases-into-main.patch b/0001-Merge-branch-appdata-releases-into-main.patch new file mode 100644 index 0000000..9067a7d --- /dev/null +++ b/0001-Merge-branch-appdata-releases-into-main.patch @@ -0,0 +1,33 @@ +From 2ce2a40ff54af0af7631ace059504be4dd17f3bd Mon Sep 17 00:00:00 2001 +From: Christian Hergert +Date: Wed, 5 Oct 2022 16:50:04 +0000 +Subject: [PATCH] Merge branch 'appdata-releases' into 'main' + +appdata: Add missing releases + +See merge request GNOME/gnome-text-editor!81 + +(cherry picked from commit 16b04a769a8ac4ee3573601f847cdc8d8597e3fd) + +19dd61a5 appdata: Add missing releases +--- + data/org.gnome.TextEditor.appdata.xml.in.in | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/data/org.gnome.TextEditor.appdata.xml.in.in b/data/org.gnome.TextEditor.appdata.xml.in.in +index 596189b..5f9a7d3 100644 +--- a/data/org.gnome.TextEditor.appdata.xml.in.in ++++ b/data/org.gnome.TextEditor.appdata.xml.in.in +@@ -29,6 +29,9 @@ + org.gnome.TextEditor + + ++ ++ ++ + + + +-- +2.37.3 + diff --git a/gnome-text-editor.spec b/gnome-text-editor.spec index 0dc2b88..3dd71a7 100644 --- a/gnome-text-editor.spec +++ b/gnome-text-editor.spec @@ -7,13 +7,16 @@ Name: gnome-text-editor Version: 43.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A simple text editor for the GNOME desktop License: GPLv3+ URL: https://gitlab.gnome.org/GNOME/gnome-text-editor Source0: https://download.gnome.org/sources/%{name}/43/%{name}-%{tarball_version}.tar.xz +# Backported from upstream +Patch0: 0001-Merge-branch-appdata-releases-into-main.patch + BuildRequires: pkgconfig(editorconfig) BuildRequires: pkgconfig(enchant-2) >= %{enchant_version} BuildRequires: pkgconfig(gio-unix-2.0) >= %{glib2_version} @@ -74,6 +77,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.TextEditor. %changelog +* Thu Oct 06 2022 Kalev Lember - 43.1-2 +- Backport upstream patch to fix the release number in appdata + * Tue Oct 04 2022 Kalev Lember - 43.1-1 - Update to 43.1