Add %{name}-appdata.patch to fix invalid tag in xml file (BZ#2109819)

This commit is contained in:
Martin Gansser 2022-07-22 12:54:49 +02:00
commit 490ee53143
2 changed files with 24 additions and 2 deletions

11
shutter-appdata.patch Normal file
View file

@ -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 @@
<id>org.shutterproject.shutter</id>
<launchable type="desktop-id">shutter.desktop</launchable>
<metadata_license>CC0-1.0</metadata_license>
- <license>GPL-3.0+</license>
+ <project_license>GPL-3.0+</project_license>
<description>
<p>
Shutter is a feature-rich screenshot program. You can take a screenshot of a

View file

@ -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 <martinkg@fedoraproject.org> - 0.99.2-4
- Add %%{name}-appdata.patch to fix invalid tag in xml file (BZ#2109819)
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 0.99.2-3
- Perl 5.36 rebuild
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Tue Oct 26 2021 Martin Gansser <martinkg@fedoraproject.org> - 0.99.2-1
- Update to 0.99.2-1