diff --git a/python-websockify.changes b/python-websockify.changes index afeb2b0..fd40f8b 100644 --- a/python-websockify.changes +++ b/python-websockify.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 2 06:37:21 UTC 2020 - Marketa Calabkova + +- Replace nose with pytest + ------------------------------------------------------------------- Thu Mar 12 07:47:53 UTC 2020 - Tomáš Chvátal diff --git a/python-websockify.spec b/python-websockify.spec index f1b8618..a301e10 100644 --- a/python-websockify.spec +++ b/python-websockify.spec @@ -28,8 +28,8 @@ Source: https://github.com/novnc/websockify/archive/v%{version}.tar.gz BuildRequires: %{python_module cryptography} BuildRequires: %{python_module jwcrypto} BuildRequires: %{python_module mox3} -BuildRequires: %{python_module nose} BuildRequires: %{python_module numpy} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module redis} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module simplejson} @@ -88,7 +88,7 @@ sed -i '1 { /^#!/ d }' websockify/websock*.py %python_clone -a %{buildroot}%{_bindir}/websockify %check -%python_exec setup.py nosetests +%pytest %post %python_install_alternative websockify