Ondřej Súkup 2019-12-28 17:37:01 +00:00 committed by Git OBS Bridge
parent bac36e4614
commit 8caf53a9a1
2 changed files with 9 additions and 3 deletions

View File

@ -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>

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
@ -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