Hello community, here is the log from the commit of package translate-toolkit for openSUSE:Leap:15.2 checked in at 2020-03-27 16:43:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/translate-toolkit (Old) and /work/SRC/openSUSE:Leap:15.2/.translate-toolkit.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "translate-toolkit" Fri Mar 27 16:43:11 2020 rev:25 rq:788369 version:2.5.0 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/translate-toolkit/translate-toolkit.changes 2020-03-13 10:55:53.616371298 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.translate-toolkit.new.3160/translate-toolkit.changes 2020-03-27 16:43:17.327762876 +0100 @@ -1,0 +2,5 @@ +Wed Mar 18 20:34:15 UTC 2020 - Andreas Schwab <[email protected]> + +- 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.7YGNKK/_old 2020-03-27 16:43:18.811763747 +0100 +++ /var/tmp/diff_new_pack.7YGNKK/_new 2020-03-27 16:43:18.847763769 +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))
