Accepting request 895924 from home:pgajdos:python

- %check: use %pyunittest rpm macro

OBS-URL: https://build.opensuse.org/request/show/895924
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-json-logger?expand=0&rev=11
This commit is contained in:
Matej Cepl 2021-05-28 09:39:36 +00:00 committed by Git OBS Bridge
parent dfb09e3fd2
commit c6d19e7d73
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri May 28 08:49:54 UTC 2021 - pgajdos@suse.com
- %check: use %pyunittest rpm macro
-------------------------------------------------------------------
Mon Dec 21 14:29:29 UTC 2020 - John Vandenberg <jayvdb@gmail.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-python-json-logger
#
# 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
@ -24,7 +24,7 @@ Release: 0
Summary: A python library adding a json log formatter
License: BSD-2-Clause
Group: Development/Languages/Python
URL: http://github.com/madzak/python-json-logger
URL: https://github.com/madzak/python-json-logger
Source: https://files.pythonhosted.org/packages/source/p/python-json-logger/python-json-logger-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
@ -45,7 +45,7 @@ A python library adding a json log formatter.
%python_install
%check
%python_exec setup.py test
%pyunittest discover -v
%files %{python_files}
%doc README.md