diff --git a/python-mailman-hyperkitty.changes b/python-mailman-hyperkitty.changes index 3c0ad7b..a2ad869 100644 --- a/python-mailman-hyperkitty.changes +++ b/python-mailman-hyperkitty.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Nov 14 12:36:41 UTC 2019 - Tomáš Chvátal + +- Use nose2 to run the tests as the package can't use pytest + ------------------------------------------------------------------- Wed Nov 13 15:01:47 UTC 2019 - pgajdos@suse.com diff --git a/python-mailman-hyperkitty.spec b/python-mailman-hyperkitty.spec index 91132f5..eb7e355 100644 --- a/python-mailman-hyperkitty.spec +++ b/python-mailman-hyperkitty.spec @@ -25,7 +25,6 @@ Summary: Mailman archiver plugin for HyperKitty License: GPL-3.0-only URL: https://gitlab.com/mailman/mailman-hyperkitty/ Source: https://files.pythonhosted.org/packages/source/m/mailman-hyperkitty/mailman-hyperkitty-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -37,7 +36,7 @@ BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module mailman} BuildRequires: %{python_module mock} -BuildRequires: %{python_module pytest} +BuildRequires: %{python_module nose2} BuildRequires: %{python_module requests} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module zope.interface} @@ -58,7 +57,7 @@ Mailman archiver plugin for HyperKitty %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -m nose2 -v %files %{python_files} %doc README.rst