diff --git a/python-xcffib.changes b/python-xcffib.changes index 0f27d28..78cad74 100644 --- a/python-xcffib.changes +++ b/python-xcffib.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jul 16 11:27:23 UTC 2021 - Matej Cepl + +- Replace use of nose2 by pytest. There is no need to do anything + else. + ------------------------------------------------------------------- Thu Jul 8 13:19:04 UTC 2021 - Markéta Machová diff --git a/python-xcffib.spec b/python-xcffib.spec index e8d48fb..cef14c1 100644 --- a/python-xcffib.spec +++ b/python-xcffib.spec @@ -27,7 +27,7 @@ Group: Development/Languages/Python URL: https://github.com/tych0/xcffib Source: https://files.pythonhosted.org/packages/source/x/xcffib/xcffib-%{version}.tar.gz BuildRequires: %{python_module cffi >= 1.1.0} -BuildRequires: %{python_module nose2} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} BuildRequires: fdupes @@ -55,7 +55,7 @@ replacement for xpyb. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} xvfb-run nose2-%{$python_bin_suffix} -v +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} xvfb-run pytest-%{$python_bin_suffix} -v %files %{python_files} %license LICENSE