- fix python-path/python-path.py requires

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-shutil?expand=0&rev=10
This commit is contained in:
Ondřej Súkup 2019-12-28 18:31:37 +00:00 committed by Git OBS Bridge
parent 7b1b883a2f
commit 05bb53ad96
2 changed files with 14 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Dec 28 18:31:07 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>
- fix python-path/python-path.py requires
-------------------------------------------------------------------
Mon Jun 3 09:07:17 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-pytest-shutil
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -27,7 +27,6 @@ URL: https://github.com/manahl/pytest-plugins
Source: https://files.pythonhosted.org/packages/source/p/pytest-shutil/pytest-shutil-%{version}.tar.gz
BuildRequires: %{python_module execnet}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module path.py}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools-git}
BuildRequires: %{python_module setuptools}
@ -36,14 +35,20 @@ BuildRequires: %{python_module termcolor}
BuildRequires: fdupes
BuildRequires: python-contextlib2
BuildRequires: python-rpm-macros
BuildRequires: python2-path.py
BuildRequires: python3-path
Requires: python-execnet
Requires: python-mock
Requires: python-path.py
Requires: python-path
Requires: python-pytest
Requires: python-six
Requires: python-termcolor
%ifpython2
Requires: python-contextlib2
Requires: python2-path.py
%endif
%ifpython3
Requires: python3-path
%endif
BuildArch: noarch
@ -56,6 +61,7 @@ tools for automated tests.
%prep
%setup -q -n pytest-shutil-%{version}
sed -i '/contextlib2/d' setup.py
sed -i '/path.\py/d' setup.py
%build
%python_build