diff --git a/python-pytest-shutil.spec b/python-pytest-shutil.spec index b170afc..9de804e 100644 --- a/python-pytest-shutil.spec +++ b/python-pytest-shutil.spec @@ -27,6 +27,7 @@ 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} @@ -35,8 +36,6 @@ 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 @@ -45,10 +44,6 @@ Requires: python-six Requires: python-termcolor %ifpython2 Requires: python-contextlib2 -Requires: python2-path.py -%endif -%ifpython3 -Requires: python3-path %endif BuildArch: noarch