Backport upstream patch to fix the release number in appdata

This commit is contained in:
Kalev Lember 2022-10-06 12:24:04 +02:00
parent 3d4a3378ea
commit 622895f866
2 changed files with 40 additions and 1 deletions

View File

@ -0,0 +1,33 @@
From 2ce2a40ff54af0af7631ace059504be4dd17f3bd Mon Sep 17 00:00:00 2001
From: Christian Hergert <christian@hergert.me>
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 @@
<translation type="gettext">org.gnome.TextEditor</translation>
<releases>
+ <release version="43.1" date="2022-10-04"/>
+ <release version="43.0" date="2022-09-17"/>
+ <release version="42.2" date="2022-06-12"/>
<release version="42.1" date="2022-04-21"/>
<release version="42.0" date="2022-03-18"/>
</releases>
--
2.37.3

View File

@ -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 <klember@redhat.com> - 43.1-2
- Backport upstream patch to fix the release number in appdata
* Tue Oct 04 2022 Kalev Lember <klember@redhat.com> - 43.1-1
- Update to 43.1