From a21b896eac46b7e26cd5365b7290b3243ae18a2bbda6268fbba41b16df241ed7 Mon Sep 17 00:00:00 2001 From: Antoine Belvire Date: Fri, 19 Feb 2021 22:59:35 +0000 Subject: [PATCH] - 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. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mohawk?expand=0&rev=9 --- python-mohawk.changes | 7 +++++++ python-mohawk.spec | 5 ++--- 2 files changed, 9 insertions(+), 3 deletions(-) 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}