From a17653abbb8803c117d37b3e359e6bef87a91b21734a4967b95f1a005890ff94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 3 Dec 2019 09:46:47 +0000 Subject: [PATCH] Accepting request 753135 from home:juliogonzalezgil:branches:devel:languages:python - Fix building for s390x (bsc#1158198) NOTE: SLE15SP2 build results are only possible by copypacking libgit2 OBS-URL: https://build.opensuse.org/request/show/753135 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=55 --- python-pygit2.changes | 5 +++++ python-pygit2.spec | 6 ++++++ 2 files changed, 11 insertions(+) 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