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
This commit is contained in:
Tomáš Chvátal 2019-12-03 09:46:47 +00:00 committed by Git OBS Bridge
parent 5adc76ce40
commit a17653abbb
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Dec 2 14:50:25 UTC 2019 - Julio González Gil <jgonzalez@suse.com>
- Fix building for s390x (bsc#1158198)
-------------------------------------------------------------------
Mon Jun 3 10:20:16 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -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