14
0
forked from pool/python-pyu2f

Accepting request 969376 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/969376
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyu2f?expand=0&rev=2
This commit is contained in:
2022-04-14 15:23:44 +00:00
committed by Git OBS Bridge
2 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Apr 12 08:56:31 UTC 2022 - Markéta Machová <mmachova@suse.com>
- do not use mock
-------------------------------------------------------------------
Fri Aug 20 08:28:27 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pyu2f
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -28,7 +28,6 @@ BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module six}
BuildRequires: %{python_module mock >= 1.0.1}
BuildRequires: %{python_module pyfakefs >= 2.4}
BuildRequires: %{python_module pytest}
# /SECTION
@@ -42,6 +41,7 @@ U2F host library for interacting with a U2F device over USB.
%prep
%setup -q -n pyu2f-%{version}
sed -i 's/import mock/from unittest import mock/' pyu2f/tests/*_test.py pyu2f/tests/hid/*_test.py
%build
%python_build