diff --git a/python-pygit2.spec b/python-pygit2.spec index d21ec76..bd8f5c7 100644 --- a/python-pygit2.spec +++ b/python-pygit2.spec @@ -27,6 +27,7 @@ Summary: Python 3.x bindings for libgit2 %{?python_provide:%python_provide python3-%{pkgname}} BuildRequires: python3-cffi BuildRequires: python3-devel +BuildRequires: python3-pytest BuildRequires: python3-setuptools BuildRequires: python3-six Requires: python3-cffi @@ -78,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} - %{__python3} setup.py test || : + pytest-3 || : %endif %else %if 0%{?with_python3} - %{__python3} setup.py test + pytest-3 %endif %endif @@ -104,6 +105,7 @@ find %{buildroot} -name '*.so' -exec chmod 755 {} ';' %changelog * Thu Dec 27 2018 Pete Walter - 0.27.3-1 - Update to 0.27.3 +- Switch to pytest * Thu Oct 11 2018 Zbigniew Jędrzejewski-Szmek - 0.27.2-2 - Python2 binary package has been removed