diff --git a/python-wsgi_intercept.changes b/python-wsgi_intercept.changes index e4562bf..5927d9c 100644 --- a/python-wsgi_intercept.changes +++ b/python-wsgi_intercept.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Fri Jan 17 15:47:55 UTC 2014 - speilicke@suse.com + +- Don't install testsuite globally +- Run testsuite +- Fix requirement list +- Recommend python-requests for the requests-based backend + (don't recommend httplib2, it isn't any better than the stdlib + module 'httplib' due to it's SSL insufficencies) + ------------------------------------------------------------------- Fri Jan 17 10:09:12 UTC 2014 - dmueller@suse.com diff --git a/python-wsgi_intercept.spec b/python-wsgi_intercept.spec index 89935f9..bc30400 100644 --- a/python-wsgi_intercept.spec +++ b/python-wsgi_intercept.spec @@ -27,14 +27,11 @@ Source: http://pypi.python.org/packages/source/w/wsgi_intercept/wsgi_int BuildRequires: python-devel BuildRequires: python-setuptools # Test requirements: -BuildRequires: python-Paste -BuildRequires: python-WebTest BuildRequires: python-httplib2 -#BuildRequires: python-mechanize -#BuildRequires: python-mechanoid BuildRequires: python-nose -#BuildRequires: python-webunit -#BuildRequires: python-zope.testbrowser +BuildRequires: python-pytest >= 2.4 +BuildRequires: python-requests +Recommends: python-requests BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} @@ -57,13 +54,14 @@ python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +rm -rf %{buildroot}%{python_sitelib}/test -#NOTE(saschpe): Fix broken tests -#%%check -#python setup.py test +%check +nosetests %files %defattr(-,root,root,-) -%{python_sitelib}/* +%{python_sitelib}/wsgi_intercept-0.6.0-py2.7.egg-info +%{python_sitelib}/wsgi_intercept %changelog