From 5efac73f8b2dd75fe0d04a0217f5adc995a48df87b7ce0825912f332334e0a24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Thu, 27 May 2021 11:14:09 +0000 Subject: [PATCH] Accepting request 895692 from home:pgajdos:python setup.py test replacement OBS-URL: https://build.opensuse.org/request/show/895692 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-beniget?expand=0&rev=10 --- python-beniget.changes | 5 +++++ python-beniget.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-beniget.changes b/python-beniget.changes index bc2e65a..bf93781 100644 --- a/python-beniget.changes +++ b/python-beniget.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 26 06:21:08 UTC 2021 - pgajdos@suse.com + +- %check: use %pyunittest rpm macro + ------------------------------------------------------------------- Mon Aug 31 04:08:36 UTC 2020 - Steve Kowalik diff --git a/python-beniget.spec b/python-beniget.spec index afc2908..c2ab12a 100644 --- a/python-beniget.spec +++ b/python-beniget.spec @@ -1,7 +1,7 @@ # # spec file for package python-beniget # -# 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 @@ -48,7 +48,7 @@ A module to extract semantic information about static Python code. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py test +%pyunittest -v tests/*.py %files %{python_files} %doc README.rst