From 471cc1d40f0c000ad478491ffce96dc8aaa8103ba3ed41be088fca50d0aa7404 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 17 Aug 2021 15:31:17 +0000 Subject: [PATCH] Accepting request 912692 from home:pgajdos:python - %check: use %pyunittest macro OBS-URL: https://build.opensuse.org/request/show/912692 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-versiontag?expand=0&rev=3 --- python-versiontag.changes | 5 +++++ python-versiontag.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-versiontag.changes b/python-versiontag.changes index 3d193c5..acc5beb 100644 --- a/python-versiontag.changes +++ b/python-versiontag.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Aug 17 13:35:17 UTC 2021 - pgajdos@suse.com + +- %check: use %pyunittest macro + ------------------------------------------------------------------- Wed Apr 1 12:27:48 AM UTC 2020 - John Vandenberg diff --git a/python-versiontag.spec b/python-versiontag.spec index 668232a..5635ed9 100644 --- a/python-versiontag.spec +++ b/python-versiontag.spec @@ -1,7 +1,7 @@ # # spec file for package python-versiontag # -# 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 @@ -49,7 +49,7 @@ Simple git tag based version numbers. } %check -%python_exec setup.py test +%pyunittest discover -v %files %{python_files} %doc README.rst