diff --git a/python-tzlocal.changes b/python-tzlocal.changes index c780933..e89bbb3 100644 --- a/python-tzlocal.changes +++ b/python-tzlocal.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Aug 27 10:24:11 UTC 2021 - pgajdos@suse.com + +- %check: use %pyunittest rpm macro + ------------------------------------------------------------------- Tue Jun 2 17:17:59 UTC 2020 - Dirk Mueller diff --git a/python-tzlocal.spec b/python-tzlocal.spec index 38595d5..7a377cd 100644 --- a/python-tzlocal.spec +++ b/python-tzlocal.spec @@ -1,7 +1,7 @@ # -# spec file for package python-tzlocal +# spec file # -# 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 @@ -62,7 +62,7 @@ file. However, if the timezone name is readily available it will be used. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py test +%pyunittest discover -v %files %{python_files} %license LICENSE.txt