diff --git a/python-daemonize.changes b/python-daemonize.changes index 242c440..ab1220c 100644 --- a/python-daemonize.changes +++ b/python-daemonize.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 4 10:01:47 UTC 2020 - Matej Cepl + +- Don't use nose, switch to pytest. + ------------------------------------------------------------------- Thu Apr 30 07:54:44 UTC 2020 - Tomáš Chvátal diff --git a/python-daemonize.spec b/python-daemonize.spec index 03db20e..2d39234 100644 --- a/python-daemonize.spec +++ b/python-daemonize.spec @@ -25,7 +25,7 @@ License: MIT URL: https://github.com/thesharp/daemonize Source: https://github.com/thesharp/daemonize/archive/v%{version}.tar.gz Patch0: no-python2.patch -BuildRequires: %{python_module nose} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: procps @@ -49,7 +49,7 @@ daemonize is a library for writing system daemons in Python. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} nosetests-%{$python_bin_suffix} -v +%pytest tests/test.py %files %{python_files} %license LICENSE