14
0
forked from pool/python-PyKMIP

Accepting request 974884 from home:pgajdos:python

- do not require python-mock for build
- added patches
  fix https://github.com/OpenKMIP/PyKMIP/issues/668
  + python-PyKMIP-no-mock.patch

OBS-URL: https://build.opensuse.org/request/show/974884
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyKMIP?expand=0&rev=12
This commit is contained in:
2022-05-04 10:19:06 +00:00
committed by Git OBS Bridge
parent aa4f32f92f
commit e57aa6f37a
3 changed files with 169 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-PyKMIP
#
# 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
@@ -29,10 +29,11 @@ Source: https://files.pythonhosted.org/packages/source/P/PyKMIP/PyKMIP-%
# PATCH-FIX-UPSTREAM fix-tests-SQLAlchemy-140.patch gh#OpenKMIP/PyKMIP#656 mcepl@suse.com
# fix tests to work with SQLAlchemy >= 1.4.0
Patch0: fix-tests-SQLAlchemy-140.patch
# https://github.com/OpenKMIP/PyKMIP/issues/668
Patch1: python-PyKMIP-no-mock.patch
BuildRequires: %{python_module SQLAlchemy}
BuildRequires: %{python_module cryptography}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools}