diff --git a/python-pyrad.changes b/python-pyrad.changes index ccc360a..93fd6aa 100644 --- a/python-pyrad.changes +++ b/python-pyrad.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Jun 13 19:00:10 UTC 2021 - Michael Ströder + +- Use %pyunittest, dropped build dependency on pytest + ------------------------------------------------------------------- Wed Dec 16 10:46:08 UTC 2020 - Michael Ströder diff --git a/python-pyrad.spec b/python-pyrad.spec index 70c1a6e..f07ab57 100644 --- a/python-pyrad.spec +++ b/python-pyrad.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyrad # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,7 +25,6 @@ License: BSD-3-Clause URL: https://github.com/pyradius/pyrad Source0: https://github.com/pyradius/pyrad/archive/%{version}.tar.gz BuildRequires: %{python_module netaddr} -BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: netcfg @@ -49,7 +48,7 @@ them and decoding responses. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest -v -s tests/test*.py +%pyunittest discover -v %files %{python_files} %license LICENSE.txt