Accepting request 714441 from home:bmwiedemann:branches:mozilla:Factory

Generate langpacks sequentially to avoid file corruption from racy file writes (boo#1137970)

OBS-URL: https://build.opensuse.org/request/show/714441
OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaThunderbird?expand=0&rev=477
This commit is contained in:
Wolfgang Rosenauer 2019-07-11 13:06:47 +00:00 committed by Git OBS Bridge
parent afa9155927
commit 1bf9c22999
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 10 13:47:41 UTC 2019 - Bernhard Wiedemann <bwiedemann@suse.com>
- Generate langpacks sequentially to avoid file corruption
from racy file writes (boo#1137970)
-------------------------------------------------------------------
Thu Jun 20 22:15:46 UTC 2019 - Wolfgang Rosenauer <wr@rosenauer.org>

View File

@ -343,7 +343,7 @@ echo 'pref("browser.preferences.instantApply", true);' > %{buildroot}%{progdir}/
%if %localize
truncate -s 0 %{_tmppath}/translations.{common,other}
sed -r '/^(ja-JP-mac|en-US|$)/d;s/ .*$//' $RPM_BUILD_DIR/thunderbird-%{version}/comm/mail/locales/shipped-locales \
| xargs -P 8 -n 1 -I {} /bin/sh -c '
| xargs -n 1 -I {} /bin/sh -c '
locale=$1
pushd $RPM_BUILD_DIR/compare-locales
PYTHONPATH=lib \