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