diff --git a/python-mohawk.changes b/python-mohawk.changes index a34ab46..583fe32 100644 --- a/python-mohawk.changes +++ b/python-mohawk.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Feb 19 22:51:29 UTC 2021 - antoine.belvire@opensuse.org + +- Replace call to 'python setup.py test' by pyunittest macro: This + prevents a DeprecationWarning to be turned into an error and to + fail the build. + ------------------------------------------------------------------- Mon Oct 28 20:05:08 UTC 2019 - antoine.belvire@opensuse.org diff --git a/python-mohawk.spec b/python-mohawk.spec index ff1bef7..a72141c 100644 --- a/python-mohawk.spec +++ b/python-mohawk.spec @@ -1,8 +1,7 @@ # # spec file for package python-mohawk # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. -# Copyright (c) 2017 The openSUSE Project. +# 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 @@ -55,7 +54,7 @@ authorization scheme. %if %{with test} %check -%python_exec setup.py test +%pyunittest %endif %files %{python_files}