14
0
forked from pool/python-mohawk

- 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
This commit is contained in:
Antoine Belvire
2021-02-19 22:59:35 +00:00
committed by Git OBS Bridge
parent 59ac590158
commit a21b896eac
2 changed files with 9 additions and 3 deletions

View File

@@ -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

View File

@@ -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}