Hello community, here is the log from the commit of package translation-update-upstream for openSUSE:Factory checked in at Wed May 25 11:42:53 CEST 2011. -------- --- translation-update-upstream/translation-update-upstream.changes 2011-02-23 17:19:03.000000000 +0100 +++ /mounts/work_src_done/STABLE/translation-update-upstream/translation-update-upstream.changes 2011-05-24 15:52:34.000000000 +0200 @@ -1,0 +2,5 @@ +Tue May 24 13:52:12 UTC 2011 - coolo@novell.com + +- fake %find_lang as if the translations are provided by the packages + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ translation-update-upstream.spec ++++++ --- /var/tmp/diff_new_pack.plsXt7/_old 2011-05-25 11:39:24.000000000 +0200 +++ /var/tmp/diff_new_pack.plsXt7/_new 2011-05-25 11:39:24.000000000 +0200 @@ -22,7 +22,7 @@ License: GPLv2+ Group: System/Localization Version: 20110222 -Release: 1 +Release: 2 Summary: Tool for Translation Update from Upstream # Ignore cracklib, as it causes build loop cracklib <-> translation-update-upstream #!BuildIgnore: cracklib libcrack2 @@ -126,12 +126,17 @@ # # go through valid locales and fail in invalid ones # +set +x cd $RPM_BUILD_ROOT%{_datadir} ; echo translation*/*/*.po | sed 's:.*/::;s:\.po$::' | sort -u for LOCALE in $(set +x ; cd $RPM_BUILD_ROOT%{_datadir} ; ls -1 translation*/*/*/*.po | sed 's:.*/::;s:\.po$::' | sort -u) ; do if ! test -d /usr/share/locale/$LOCALE ; then - echo "Invalid locale $LOCALE! Please fix (delete, rename or add to filesystem package)." - exit 1 + for file in $RPM_BUILD_ROOT%{_datadir}/translation*/*/*/$LOCALE.po; do + # fake it so it looks like removed from %find_lang + package=$(echo $file | sed -e 's,.*translation[^/]*/po/,,; s,/[^/]*.po,,') + echo -n "removing translation /usr/share/locale/$LOCALE/LC_MESSAGES/$package.mo: " + msgfmt -o - $file | msgunfmt -o - -| msgfmt --statistics -o /dev/null - + done fi done ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org