Hello community, here is the log from the commit of package translate-toolkit for openSUSE:Factory checked in at 2020-03-25 23:41:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/translate-toolkit (Old) and /work/SRC/openSUSE:Factory/.translate-toolkit.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "translate-toolkit" Wed Mar 25 23:41:59 2020 rev:37 rq:786319 version:2.5.0 Changes: -------- --- /work/SRC/openSUSE:Factory/translate-toolkit/translate-toolkit.changes 2020-03-08 22:22:07.492002953 +0100 +++ /work/SRC/openSUSE:Factory/.translate-toolkit.new.3160/translate-toolkit.changes 2020-03-25 23:42:04.479969624 +0100 @@ -1,0 +2,5 @@ +Wed Mar 18 20:34:15 UTC 2020 - Andreas Schwab <sch...@linux-m68k.org> + +- test-mo-endian.patch: tell msgfmt to use correct endianness + +------------------------------------------------------------------- New: ---- test-mo-endian.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ translate-toolkit.spec ++++++ --- /var/tmp/diff_new_pack.kb4Rb4/_old 2020-03-25 23:42:05.391969922 +0100 +++ /var/tmp/diff_new_pack.kb4Rb4/_new 2020-03-25 23:42:05.395969923 +0100 @@ -29,6 +29,7 @@ Source1: sphinx-themes.tar.xz Patch0: sphinx-intersphinx.patch Patch2: xliff-xsd-no-network.patch +Patch3: test-mo-endian.patch BuildRequires: fdupes BuildRequires: gettext-runtime BuildRequires: git-core ++++++ test-mo-endian.patch ++++++ Tell msgfmt to use the same byte order as pocompile Index: translate-toolkit-2.5.0/translate/storage/test_mo.py =================================================================== --- translate-toolkit-2.5.0.orig/translate/storage/test_mo.py +++ translate-toolkit-2.5.0/translate/storage/test_mo.py @@ -147,7 +147,7 @@ class TestMOFile(test_base.TestTranslati with open(PO_FILE, 'wb') as out_file: out_file.write(posource) - subprocess.call(['msgfmt', PO_FILE, '-o', MO_MSGFMT]) + subprocess.call(['msgfmt', PO_FILE, '-o', MO_MSGFMT, '--endianness', sys.byteorder]) subprocess.call(['pocompile', '--errorlevel=traceback', PO_FILE, MO_POCOMPILE]) store = factory.getobject(BytesIO(posource))