Move comment to where the workaround is applied

... and also fix the link to the bug report.
This commit is contained in:
Pete Walter 2019-06-18 18:48:03 +01:00
parent acaf85717e
commit 85fd6be22c

View File

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