forked from pool/python-pytest-salt-factories
- Add missing BuildRequires on importlib-metadata.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-salt-factories?expand=0&rev=8
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 20 05:29:34 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Add missing BuildRequires on importlib-metadata.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 20 11:20:42 UTC 2023 - Bernhard Wiedemann <bwiedemann@suse.com>
|
Wed Dec 20 11:20:42 UTC 2023 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pytest-salt-factories
|
# spec file for package python-pytest-salt-factories
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 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
|
||||||
@@ -34,6 +34,7 @@ Source0: https://files.pythonhosted.org/packages/source/p/pytest-salt-fac
|
|||||||
Patch1: fix_unit_tests.patch
|
Patch1: fix_unit_tests.patch
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module docker}
|
BuildRequires: %{python_module docker}
|
||||||
|
BuildRequires: %{python_module importlib-metadata}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest >= 6.0.0}
|
BuildRequires: %{python_module pytest >= 6.0.0}
|
||||||
BuildRequires: %{python_module pytest-shell-utilities}
|
BuildRequires: %{python_module pytest-shell-utilities}
|
||||||
@@ -44,9 +45,9 @@ BuildRequires: %{python_module setuptools-declarative-requirements}
|
|||||||
BuildRequires: %{python_module setuptools_scm}
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python3-salt
|
BuildRequires: python3-salt
|
||||||
BuildRequires: salt-master
|
BuildRequires: salt-master
|
||||||
BuildRequires: python-rpm-macros
|
|
||||||
Requires: python-attrs >= 19.2.0
|
Requires: python-attrs >= 19.2.0
|
||||||
Requires: python-msgpack
|
Requires: python-msgpack
|
||||||
Requires: python-psutil
|
Requires: python-psutil
|
||||||
@@ -88,7 +89,7 @@ export PYTHONPATH=%{buildroot}%{python_sitelib}
|
|||||||
|
|
||||||
# Run test and exclude some that doesn't work fine in OBS.
|
# Run test and exclude some that doesn't work fine in OBS.
|
||||||
pytest-%{python_bin_suffix} -vvv -k 'not ssh and not echoext'
|
pytest-%{python_bin_suffix} -vvv -k 'not ssh and not echoext'
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative salt-factories
|
%python_install_alternative salt-factories
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user