14
0
forked from pool/python-mohawk

Accepting request 873931 from devel:languages:python

- Replace call to 'python setup.py test' by pyunittest macro: This
  prevents a DeprecationWarning turned into an error from failing
  the build.

OBS-URL: https://build.opensuse.org/request/show/873931
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mohawk?expand=0&rev=5
This commit is contained in:
2021-02-20 21:12:24 +00:00
committed by Git OBS Bridge
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 turned into an error from failing
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}