Accepting request 224746 from GNOME:Factory
- Add gnome-calculator-appdata_xml.patch: URI encode the links to screenshots inside appdata.xml. OBS-URL: https://build.opensuse.org/request/show/224746 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-calculator?expand=0&rev=13
This commit is contained in:
commit
365d274a9b
15
gnome-calculator-appdata_xml.patch
Normal file
15
gnome-calculator-appdata_xml.patch
Normal file
@ -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 @@
|
||||||
|
</description>
|
||||||
|
<url type="homepage">https://wiki.gnome.org/Calculator</url>
|
||||||
|
<screenshots>
|
||||||
|
- <screenshot type="default">https://wiki.gnome.org/Calculator?action=AttachFile&do=get&target=gcalctool.png</screenshot>
|
||||||
|
+ <screenshot type="default">https://wiki.gnome.org/Calculator?action=AttachFile&do=get&target=gcalctool.png</screenshot>
|
||||||
|
</screenshots>
|
||||||
|
</application>
|
||||||
|
-
|
||||||
|
\ No newline at end of file
|
||||||
|
+
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 5 13:54:18 UTC 2014 - coolo@suse.com
|
||||||
|
|
||||||
|
- Add gnome-calculator-appdata_xml.patch: URI encode the links to
|
||||||
|
screenshots inside appdata.xml.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 11 12:05:29 UTC 2013 - dimstar@opensuse.org
|
Mon Nov 11 12:05:29 UTC 2013 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package gnome-calculator
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -24,6 +24,8 @@ License: GPL-2.0+
|
|||||||
Group: Productivity/Scientific/Math
|
Group: Productivity/Scientific/Math
|
||||||
Url: http://www.gnome.org
|
Url: http://www.gnome.org
|
||||||
Source: http://download.gnome.org/sources/gnome-calculator/3.10/%{name}-%{version}.tar.xz
|
Source: http://download.gnome.org/sources/gnome-calculator/3.10/%{name}-%{version}.tar.xz
|
||||||
|
# PATCH-FIX-UPSTREAM gnome-calculator-appdata_xml.patch coolo@suse.de -- fix invalid XML in appdata, not submitted upstream, as the screenshot links change for gnome-calculator 3.12 anyway.
|
||||||
|
Patch0: gnome-calculator-appdata_xml.patch
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
BuildRequires: translation-update-upstream
|
BuildRequires: translation-update-upstream
|
||||||
@ -47,6 +49,7 @@ A GNOME calculator package based on calctool and MP library.
|
|||||||
%lang_package
|
%lang_package
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
translation-update-upstream
|
translation-update-upstream
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
Loading…
Reference in New Issue
Block a user