diff --git a/python-pytest.changes b/python-pytest.changes index c9b95bc..c550bc7 100644 --- a/python-pytest.changes +++ b/python-pytest.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 10 10:49:25 UTC 2014 - mvyskocil@opensuse.org + +- Add setuptools dependency as py.test launcher does import pkg_resources + ------------------------------------------------------------------- Wed Mar 12 16:09:57 UTC 2014 - speilicke@suse.com diff --git a/python-pytest.spec b/python-pytest.spec index 46fcbf8..c5ecd29 100644 --- a/python-pytest.spec +++ b/python-pytest.spec @@ -34,6 +34,8 @@ BuildRequires: python-py >= 1.4.20 Requires: python-py >= 1.4.20 Requires(post): update-alternatives Requires(postun): update-alternatives +#/usr/bin/py.test imports pkg_resources +Requires: python-setuptools %if 0%{?suse_version} && 0%{?suse_version} <= 1110 Requires: python-argparse %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}