Hello community, here is the log from the commit of package gnumeric for openSUSE:Factory checked in at 2011-10-26 15:25:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnumeric (Old) and /work/SRC/openSUSE:Factory/.gnumeric.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "gnumeric", Maintainer is "gnome-maintainers@suse.de" Changes: -------- --- /work/SRC/openSUSE:Factory/gnumeric/gnumeric.changes 2011-10-04 18:11:08.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.gnumeric.new/gnumeric.changes 2011-10-26 15:36:12.000000000 +0200 @@ -1,0 +2,8 @@ +Tue Oct 25 18:24:25 UTC 2011 - vuntz@opensuse.org + +- Use a more generic hack in %setup to remove incomplete + translations created by translation-update-upstream. Should fix + build breakages created when translation-update-upstream is + updated and adds new translations. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnumeric.spec ++++++ --- /var/tmp/diff_new_pack.FYoMrM/_old 2011-10-26 15:36:24.000000000 +0200 +++ /var/tmp/diff_new_pack.FYoMrM/_new 2011-10-26 15:36:24.000000000 +0200 @@ -95,24 +95,14 @@ %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 +# remove incomplete translations caused by translation-update-upstream (global LINGUAS file, two domains) +for LNG in po/*.po ; do + LNG=`basename ${LNG%%.po}` + if ! test -f po-functions/$LNG.po ; then + echo "Removing incomplete $LNG from LINGUAS." + sed -i "/^$LNG\$/d" po/LINGUAS + fi +done %build export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org