diff --git a/python-python-yubico.changes b/python-python-yubico.changes index cd19ce2..525e852 100644 --- a/python-python-yubico.changes +++ b/python-python-yubico.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 28 09:27:28 UTC 2021 - pgajdos@suse.com + +- %check: use %pyunittest rpm macro + ------------------------------------------------------------------- Thu May 9 06:09:12 UTC 2019 - pgajdos@suse.com diff --git a/python-python-yubico.spec b/python-python-yubico.spec index 95f00a3..d47f18a 100644 --- a/python-python-yubico.spec +++ b/python-python-yubico.spec @@ -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