diff --git a/python-pytest-virtualenv.spec b/python-pytest-virtualenv.spec index d448b5f..0b1ab0b 100644 --- a/python-pytest-virtualenv.spec +++ b/python-pytest-virtualenv.spec @@ -25,12 +25,20 @@ License: MIT Group: Development/Languages/Python URL: https://github.com/manahl/pytest-plugins Source: https://files.pythonhosted.org/packages/source/p/pytest-virtualenv/pytest-virtualenv-%{version}.tar.gz +BuildRequires: %{python_module mock} +BuildRequires: %{python_module path.py} +BuildRequires: %{python_module pytest-fixture-config} +BuildRequires: %{python_module pytest-shutil} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools-git} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module virtualenv} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-path.py +Requires: python-pytest-fixture-config +Requires: python-pytest-shutil +Requires: python-setuptools Requires: python-virtualenv BuildArch: noarch %python_subpackages @@ -42,6 +50,7 @@ what's installed. %prep %setup -q -n pytest-virtualenv-%{version} +sed -i -e 's:pytest<4.0.0:pytest:g' setup.py %build %python_build