From 41feda4bf0abb467dfcfd2c5e8e4e95876b2dc4c3f9fc3656aa2e6e8064353e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 25 May 2021 11:32:59 +0000 Subject: [PATCH] Accepting request 895340 from home:pgajdos:python - %check: use %pyunittest rpm macro OBS-URL: https://build.opensuse.org/request/show/895340 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fido2?expand=0&rev=21 --- python-fido2.changes | 5 +++++ python-fido2.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/python-fido2.changes b/python-fido2.changes index 44fd115..83cc433 100644 --- a/python-fido2.changes +++ b/python-fido2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 25 11:09:25 UTC 2021 - pgajdos@suse.com + +- %check: use %pyunittest rpm macro + ------------------------------------------------------------------- Thu May 6 14:23:34 UTC 2021 - Ferdinand Thiessen diff --git a/python-fido2.spec b/python-fido2.spec index 4d84d1a..ebec805 100644 --- a/python-fido2.spec +++ b/python-fido2.spec @@ -22,7 +22,7 @@ Name: python-fido2 Version: 0.9.1 Release: 0 Summary: Python-based FIDO 2.0 library -License: BSD-2-Clause AND BSD-3-Clause AND Apache-2.0 AND MPL-2.0 +License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MPL-2.0 Group: Development/Languages/Python URL: https://github.com/Yubico/python-fido2 Source0: %{URL}/releases/download/%{version}/fido2-%{version}.tar.gz @@ -66,8 +66,7 @@ implement higher level device operations. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# %%pyunittest -%python_expand $python -m unittest +%pyunittest discover -v %files %{python_files} %doc NEWS* README*