From f52efcc0197e735b5784b493aa05f952dc09dcd5b1eb5b5c7b67cf441ab02651 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 25 May 2021 07:15:59 +0000 Subject: [PATCH] Accepting request 895279 from home:pgajdos:python - %check: use %pyunittest rpm macro OBS-URL: https://build.opensuse.org/request/show/895279 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-discogs-client?expand=0&rev=8 --- python-discogs-client.changes | 5 +++++ python-discogs-client.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-discogs-client.changes b/python-discogs-client.changes index 357e345..eb6dadd 100644 --- a/python-discogs-client.changes +++ b/python-discogs-client.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 25 06:52:41 UTC 2021 - pgajdos@suse.com + +- %check: use %pyunittest rpm macro + ------------------------------------------------------------------- Fri Mar 8 13:12:53 UTC 2019 - Tomáš Chvátal diff --git a/python-discogs-client.spec b/python-discogs-client.spec index 068697d..70e8379 100644 --- a/python-discogs-client.spec +++ b/python-discogs-client.spec @@ -1,7 +1,7 @@ # # spec file for package python-discogs-client # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # Copyright (c) 2015 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -58,7 +58,7 @@ cp %{SOURCE1} . %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py test +%pyunittest discover -v discogs_client/tests %files %{python_files} %license LICENSE