14
0

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:
2022-04-13 19:04:56 +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 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>

View File

@@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@@ -33,7 +33,6 @@ Requires(postun):update-alternatives
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module cryptography >= 2.5}
BuildRequires: %{python_module mock >= 1.0.1}
BuildRequires: %{python_module pytest}
# /SECTION
%python_subpackages
@@ -43,6 +42,7 @@ VAPID header generation library.
%prep
%setup -q -n py-vapid-%{version}
sed -i 's/from mock import/from unittest.mock import/' py_vapid/tests/test_vapid.py
%build
%python_build