- fix dependency on python-path.py
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-shutil?expand=0&rev=7
This commit is contained in:
parent
bac36e4614
commit
8caf53a9a1
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 28 17:36:29 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||
|
||||
- fix dependency on python-path.py
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 3 09:07:17 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
@ -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
|
||||
@ -38,12 +38,12 @@ BuildRequires: python-contextlib2
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-execnet
|
||||
Requires: python-mock
|
||||
Requires: python-path.py
|
||||
Requires: python-pytest
|
||||
Requires: python-six
|
||||
Requires: python-termcolor
|
||||
%ifpython2
|
||||
Requires: python-contextlib2
|
||||
Requires: python-path.py
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
|
||||
@ -55,7 +55,8 @@ tools for automated tests.
|
||||
|
||||
%prep
|
||||
%setup -q -n pytest-shutil-%{version}
|
||||
sed -i '/contextlib2/d' setup.py
|
||||
sed -i 's/contextlib2/contextlib2;python_version<"3"/' setup.py
|
||||
sed -i 's/path\.py/path\.py;python_version<"3"/' setup.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
Loading…
x
Reference in New Issue
Block a user