diff --git a/python-pygit2.spec b/python-pygit2.spec index 6db6105..964d01b 100644 --- a/python-pygit2.spec +++ b/python-pygit2.spec @@ -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