From edf485a5179178e04c1add8739fb4bffaec4fa373cbd2defbd3216a237d01270 Mon Sep 17 00:00:00 2001 From: Stanislav Brabec Date: Mon, 14 Jun 2010 18:50:51 +0000 Subject: [PATCH] Accepting request 41451 from home:sbrabec:branches:GNOME:Apps Copy from home:sbrabec:branches:GNOME:Apps/gnumeric via accept of submit request 41451 revision 2. Request was accepted with message: Accepter my own request. OBS-URL: https://build.opensuse.org/request/show/41451 OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/gnumeric?expand=0&rev=18 --- gnumeric.changes | 6 ++++++ gnumeric.spec | 18 ++++++++++++++++++ 2 files changed, 24 insertions(+) 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..ff52c80 100644 --- a/gnumeric.spec +++ b/gnumeric.spec @@ -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