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 1/2] 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 From eab5ca171b060670434413db1f8f31d36592496930fed5842ad7db84ac01cc9f 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:47:18 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=56 --- python-pygit2.spec | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/python-pygit2.spec b/python-pygit2.spec index 19c29ae..fa5907d 100644 --- a/python-pygit2.spec +++ b/python-pygit2.spec @@ -1,7 +1,7 @@ # # spec file for package python-pygit2 # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # Copyright (c) 2019 Neal Gompa . # # All modifications and additions to the file contributed by third parties @@ -64,11 +64,7 @@ export CFLAGS="%{optflags} -fno-strict-aliasing" 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