From 305c0693a483e16039b6baa7689dfc2b97a3fcfbc39cb85bfb230667e9e25f62 Mon Sep 17 00:00:00 2001 From: Atri Bhattacharya Date: Mon, 31 May 2021 15:06:32 +0000 Subject: [PATCH] Accepting request 896281 from home:pgajdos:python - %check: use %pyunittest rpm macro OBS-URL: https://build.opensuse.org/request/show/896281 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hawkauthlib?expand=0&rev=9 --- python-hawkauthlib.changes | 5 +++++ python-hawkauthlib.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-hawkauthlib.changes b/python-hawkauthlib.changes index f57ad8b..21628a8 100644 --- a/python-hawkauthlib.changes +++ b/python-hawkauthlib.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon May 31 07:16:42 UTC 2021 - pgajdos@suse.com + +- %check: use %pyunittest rpm macro + ------------------------------------------------------------------- Sat Mar 14 09:01:39 UTC 2020 - Tomáš Chvátal diff --git a/python-hawkauthlib.spec b/python-hawkauthlib.spec index 5041e67..a0dd67c 100644 --- a/python-hawkauthlib.spec +++ b/python-hawkauthlib.spec @@ -1,7 +1,7 @@ # # spec file for package python-hawkauthlib # -# 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 @@ -54,7 +54,7 @@ cp %{SOURCE1} LICENSE %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py test +%pyunittest discover -v %files %{python_files} %license LICENSE