From c6d19e7d739fd9b2b52712c22f21ea63d7d77043a78c57d452480ee38d93802f Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 28 May 2021 09:39:36 +0000 Subject: [PATCH] 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 --- python-python-json-logger.changes | 5 +++++ python-python-json-logger.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/python-python-json-logger.changes b/python-python-json-logger.changes index 305fbad..4b39745 100644 --- a/python-python-json-logger.changes +++ b/python-python-json-logger.changes @@ -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 diff --git a/python-python-json-logger.spec b/python-python-json-logger.spec index d16288a..fa54d30 100644 --- a/python-python-json-logger.spec +++ b/python-python-json-logger.spec @@ -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