From bca86f6b4f42f9799094e69bdedd04d500bea8f28b0c7046e810708ba431b9d3 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 5 Mar 2014 18:27:23 +0000 Subject: [PATCH] Accepting request 224713 from home:coolo:branches:openSUSE:Factory Note that this broken XML leads to broken FTP tree generation and as long as it's not fixed, there won't be any new factory tree OBS-URL: https://build.opensuse.org/request/show/224713 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-calculator?expand=0&rev=25 --- fix-appdata-xml.patch | 15 +++++++++++++++ gnome-calculator.changes | 5 +++++ gnome-calculator.spec | 5 ++++- 3 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 fix-appdata-xml.patch diff --git a/fix-appdata-xml.patch b/fix-appdata-xml.patch new file mode 100644 index 0000000..96b6ee5 --- /dev/null +++ b/fix-appdata-xml.patch @@ -0,0 +1,15 @@ +Index: gnome-calculator-3.10.2/data/gnome-calculator.appdata.xml +=================================================================== +--- gnome-calculator-3.10.2.orig/data/gnome-calculator.appdata.xml ++++ gnome-calculator-3.10.2/data/gnome-calculator.appdata.xml +@@ -28,7 +28,7 @@ + + https://wiki.gnome.org/Calculator + +- https://wiki.gnome.org/Calculator?action=AttachFile&do=get&target=gcalctool.png ++ https://wiki.gnome.org/Calculator?action=AttachFile&do=get&target=gcalctool.png + + +- +\ No newline at end of file ++ diff --git a/gnome-calculator.changes b/gnome-calculator.changes index 2744060..db98bd8 100644 --- a/gnome-calculator.changes +++ b/gnome-calculator.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 5 13:54:18 UTC 2014 - coolo@suse.com + +- Add fix-appdata-xml.patch to make the appdata xml valid + ------------------------------------------------------------------- Mon Nov 11 12:05:29 UTC 2013 - dimstar@opensuse.org diff --git a/gnome-calculator.spec b/gnome-calculator.spec index df85ad9..9f9dece 100644 --- a/gnome-calculator.spec +++ b/gnome-calculator.spec @@ -1,7 +1,7 @@ # # spec file for package gnome-calculator # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,6 +24,8 @@ License: GPL-2.0+ Group: Productivity/Scientific/Math Url: http://www.gnome.org Source: http://download.gnome.org/sources/gnome-calculator/3.10/%{name}-%{version}.tar.xz +# PATCH-FIX-UPSTREAM coolo@suse.de -- fix invalid XML in appdata +Patch0: fix-appdata-xml.patch BuildRequires: fdupes BuildRequires: intltool BuildRequires: translation-update-upstream @@ -47,6 +49,7 @@ A GNOME calculator package based on calctool and MP library. %lang_package %prep %setup -q +%patch0 -p1 translation-update-upstream %build