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
This commit is contained in:
Markéta Machová 2021-05-25 11:32:59 +00:00 committed by Git OBS Bridge
parent 7f457c695e
commit 41feda4bf0
2 changed files with 7 additions and 3 deletions

View File

@ -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 <rpm@fthiessen.de>

View File

@ -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*