Apply workaround for tests to pass
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
5baa1e200b
commit
0c05c849f8
@ -51,12 +51,11 @@ make -C docs html
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
find %{_builddir} -name '.buildinfo' -delete
|
||||
|
||||
# Correct the permissions.
|
||||
find %{buildroot} -name '*.so' -exec chmod 755 {} ';'
|
||||
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}
|
||||
PYTHONPATH=%{buildroot}%{python3_sitearch} py.test-%{python3_version} -v || :
|
||||
%else
|
||||
|
Loading…
Reference in New Issue
Block a user