From 05bb53ad967f64f8a6e276f86b36d492d1abd5be2c6d1b9ed69a807e63059652 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Sat, 28 Dec 2019 18:31:37 +0000 Subject: [PATCH] - 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 --- python-pytest-shutil.changes | 5 +++++ python-pytest-shutil.spec | 12 +++++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/python-pytest-shutil.changes b/python-pytest-shutil.changes index 8db1594..f766c7d 100644 --- a/python-pytest-shutil.changes +++ b/python-pytest-shutil.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Dec 28 18:31:07 UTC 2019 - Ondřej Súkup + +- fix python-path/python-path.py requires + ------------------------------------------------------------------- Mon Jun 3 09:07:17 UTC 2019 - Tomáš Chvátal diff --git a/python-pytest-shutil.spec b/python-pytest-shutil.spec index 4823278..b170afc 100644 --- a/python-pytest-shutil.spec +++ b/python-pytest-shutil.spec @@ -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