1
0

Accepting request 620624 from home:AndreasStieger:branches:mozilla:Factory

fix missing l10n from this change:
Build from upstream source archive and verify source signature (boo#1085780)

OBS-URL: https://build.opensuse.org/request/show/620624
OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaThunderbird?expand=0&rev=412
This commit is contained in:
Wolfgang Rosenauer 2018-07-04 14:06:02 +00:00 committed by Git OBS Bridge
parent 5e3677350a
commit 3b3bdbed6f

View File

@ -328,13 +328,13 @@ echo 'pref("browser.preferences.instantApply", true);' > %{buildroot}%{progdir}/
cp %SOURCE5 ../thunderbird/mail/locales/shipped-locales
%endif
truncate -s 0 %{_tmppath}/translations.{common,other}
sed -r '/^(ja-JP-mac|en-US|$)/d;s/ .*$//' $RPM_BUILD_DIR/thunderbird/mail/locales/shipped-locales \
sed -r '/^(ja-JP-mac|en-US|$)/d;s/ .*$//' $RPM_BUILD_DIR/thunderbird-%{version}/mail/locales/shipped-locales \
| xargs -P 8 -n 1 -I {} /bin/sh -c '
locale=$1
pushd $RPM_BUILD_DIR/compare-locales
PYTHONPATH=lib \
scripts/compare-locales -m ../l10n-merged/$locale \
../thunderbird/mail/locales/l10n.ini ../l10n $locale
../thunderbird-%{version}/mail/locales/l10n.ini ../l10n $locale
popd
LOCALE_MERGEDIR=$RPM_BUILD_DIR/l10n-merged/$locale \
make -C mail/locales langpack-$locale