From f613b8a19af89ee320dfd81a29b645cf7a8c5a962bf1e45a6d8370a9a80bb59b Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Fri, 18 Jun 2010 04:55:35 +0000 Subject: [PATCH] Accepting request 41452 from GNOME:Apps Copy from GNOME:Apps/gnumeric based on submit request 41452 from user sbrabec OBS-URL: https://build.opensuse.org/request/show/41452 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnumeric?expand=0&rev=38 --- gnumeric.changes | 6 ++++++ gnumeric.spec | 20 +++++++++++++++++++- 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/gnumeric.changes b/gnumeric.changes index 0ddacdc..c71b24c 100644 --- a/gnumeric.changes +++ b/gnumeric.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jun 14 19:08:42 CEST 2010 - sbrabec@suse.cz + +- Removed incomplete translations imported by + translation-update-upstream. + ------------------------------------------------------------------- Wed Apr 28 11:02:43 CEST 2010 - dimstar@opensuse.org diff --git a/gnumeric.spec b/gnumeric.spec index 37a10da..3293c03 100644 --- a/gnumeric.spec +++ b/gnumeric.spec @@ -20,7 +20,7 @@ Name: gnumeric Version: 1.10.2 -Release: 1 +Release: 2 Summary: Spreadsheet Application License: GPLv2+ Url: http://www.gnumeric.org/ @@ -99,6 +99,24 @@ Gnumeric is part of the GNOME project. %setup -q translation-update-upstream translation-update-upstream po-functions gnumeric-functions +# translation-update-upstream provides incomplete upstream translations +# from the upstream git. Remove them until upstream provides a fix. See +# po/LINGUAS for more. +if test -f po-functions/id.po ; then + echo "\"id\" locale removal in gnumeric.spec is obsolete. Please remove it." +else + sed -i '/^id$/d' po/LINGUAS +fi +if test -f po-functions/pa.po ; then + echo "\"pa\" locale removal in gnumeric.spec is obsolete. Please remove it." +else + sed -i '/^pa$/d' po/LINGUAS +fi +if test -f po-functions/zh_HK.po ; then + echo "\"zh_HK\" locale removal in gnumeric.spec is obsolete. Please remove it." +else + sed -i '/^zh_HK$/d' po/LINGUAS +fi %patch0 -p1 %build