forked from pool/python-py-vapid
Accepting request 969583 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/969583 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py-vapid?expand=0&rev=3
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 12 09:03:27 UTC 2022 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- do not use mock
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Sep 8 04:27:28 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
Wed Sep 8 04:27:28 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-py-vapid
|
# spec file for package python-py-vapid
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -33,7 +33,6 @@ Requires(postun):update-alternatives
|
|||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module cryptography >= 2.5}
|
BuildRequires: %{python_module cryptography >= 2.5}
|
||||||
BuildRequires: %{python_module mock >= 1.0.1}
|
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
@@ -43,6 +42,7 @@ VAPID header generation library.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n py-vapid-%{version}
|
%setup -q -n py-vapid-%{version}
|
||||||
|
sed -i 's/from mock import/from unittest.mock import/' py_vapid/tests/test_vapid.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
Reference in New Issue
Block a user