Move comment to where the workaround is applied
... and also fix the link to the bug report.
This commit is contained in:
parent
acaf85717e
commit
85fd6be22c
@ -1,5 +1,3 @@
|
||||
# https://github.com/libgit2/pygit2/issues/811
|
||||
%global arch_test_fail ppc64 s390x
|
||||
%global pkgname pygit2
|
||||
%{?python_enable_dependency_generator}
|
||||
|
||||
@ -63,7 +61,8 @@ find %{_builddir} -name '.buildinfo' -print -delete
|
||||
%check
|
||||
# This is horrible, but otherwise pytest does not use pygit2 from site-packages
|
||||
rm -f pygit2/__init__.py
|
||||
%ifarch %{arch_test_fail}
|
||||
# https://github.com/libgit2/pygit2/issues/812
|
||||
%ifarch ppc64 s390x
|
||||
PYTHONPATH=%{buildroot}%{python3_sitearch} py.test-%{python3_version} -v || :
|
||||
%else
|
||||
PYTHONPATH=%{buildroot}%{python3_sitearch} py.test-%{python3_version} -v
|
||||
|
Loading…
Reference in New Issue
Block a user