diff --git a/python-pygit2.changes b/python-pygit2.changes index 84d2182..c8900be 100644 --- a/python-pygit2.changes +++ b/python-pygit2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Dec 2 14:50:25 UTC 2019 - Julio González Gil + +- Fix building for s390x (bsc#1158198) + ------------------------------------------------------------------- Mon Jun 3 10:20:16 UTC 2019 - Tomáš Chvátal diff --git a/python-pygit2.spec b/python-pygit2.spec index ba9a1ce..19c29ae 100644 --- a/python-pygit2.spec +++ b/python-pygit2.spec @@ -62,7 +62,13 @@ export CFLAGS="%{optflags} -fno-strict-aliasing" %check rm -rf pygit2 +# test_no_context_lines failing on big endian +# https://github.com/libgit2/pygit2/issues/812 +%ifarch s390x +%pytest_arch -k 'not test_no_context_lines' +%else %pytest_arch +%endif %files %{python_files} %license COPYING