From 490ee53143a36e07f29ae52bc01e0738f6df0047 Mon Sep 17 00:00:00 2001 From: Martin Gansser Date: Fri, 22 Jul 2022 12:54:49 +0200 Subject: [PATCH] Add %{name}-appdata.patch to fix invalid tag in xml file (BZ#2109819) --- shutter-appdata.patch | 11 +++++++++++ shutter.spec | 15 +++++++++++++-- 2 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 shutter-appdata.patch diff --git a/shutter-appdata.patch b/shutter-appdata.patch new file mode 100644 index 0000000..cc4ac5f --- /dev/null +++ b/shutter-appdata.patch @@ -0,0 +1,11 @@ +--- share/appdata/shutter.appdata.xml.orig 2022-07-22 12:39:10.485167885 +0200 ++++ share/appdata/shutter.appdata.xml 2022-07-22 12:39:26.389109257 +0200 +@@ -3,7 +3,7 @@ + org.shutterproject.shutter + shutter.desktop + CC0-1.0 +- GPL-3.0+ ++ GPL-3.0+ + +

+ Shutter is a feature-rich screenshot program. You can take a screenshot of a diff --git a/shutter.spec b/shutter.spec index dc9b20c..98f27e0 100644 --- a/shutter.spec +++ b/shutter.spec @@ -9,9 +9,9 @@ Name: shutter Version: 0.99.2 %if 0%{?usesnapshot} -Release: 0.1%{?snapshottag}%{?dist} +Release: 0.3%{?snapshottag}%{?dist} %else -Release: 1%{?dist} +Release: 4%{?dist} %endif Summary: GTK+3-based screenshot application written in Perl @@ -29,6 +29,8 @@ Source0: https://github.com/shutter-project/shutter/archive/%{commit0}/%{name Source0: https://github.com/shutter-project/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz %endif +Patch0: %{name}-appdata.patch + # https://bugs.launchpad.net/shutter/+bug/1469840 BuildArch: noarch @@ -141,6 +143,15 @@ appstream-util validate-relax --nonet %{buildroot}/%{_metainfodir}/%{name}.appda %{_datadir}/icons/HighContrast/ %changelog +* Fri Jul 22 2022 Martin Gansser - 0.99.2-4 +- Add %%{name}-appdata.patch to fix invalid tag in xml file (BZ#2109819) + +* Mon May 30 2022 Jitka Plesnikova - 0.99.2-3 +- Perl 5.36 rebuild + +* Sat Jan 22 2022 Fedora Release Engineering - 0.99.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Tue Oct 26 2021 Martin Gansser - 0.99.2-1 - Update to 0.99.2-1