14
0

Accepting request 895929 from home:pgajdos:python

- %check: use %pyunittest rpm macro

OBS-URL: https://build.opensuse.org/request/show/895929
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-yubico?expand=0&rev=4
This commit is contained in:
2021-05-28 09:38:33 +00:00
committed by Git OBS Bridge
parent b2189039bc
commit 8b895ebace
2 changed files with 9 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-yubico
# spec file for package python-python-yubico
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# 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
@@ -35,9 +35,9 @@ BuildRequires: %{python_module usb}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-usb
BuildArch: noarch
Provides: python-yubico = %{version}
Obsoletes: python-yubico < %{version}
BuildArch: noarch
%python_subpackages
%description
@@ -64,7 +64,7 @@ but there are things one can do with bi-directional communication:
%check
# needs the hardware
rm -r test/usb
%python_exec setup.py test
%pyunittest discover -v
%files %{python_files}
%license COPYING