Fix the build

This commit is contained in:
Pete Walter 2019-01-29 11:29:44 +00:00
parent 1d66eb16b0
commit 935dfe8f70

View File

@ -79,11 +79,11 @@ find %{buildroot} -name '*.so' -exec chmod 755 {} ';'
# https://github.com/libgit2/pygit2/issues/812
%ifarch aarch64 ppc64 s390x
%if 0%{?with_python3}
pytest-3 || :
PYTHONPATH=%{buildroot}%{python3_sitearch} pytest-3 || :
%endif
%else
%if 0%{?with_python3}
pytest-3
PYTHONPATH=%{buildroot}%{python3_sitearch} pytest-3
%endif
%endif