diff --git a/python-wsgi_intercept.changes b/python-wsgi_intercept.changes index 744ef96..5927d9c 100644 --- a/python-wsgi_intercept.changes +++ b/python-wsgi_intercept.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +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 + +- remove excessive buildrequires that are not used due to + tests being commented out + ------------------------------------------------------------------- Fri Nov 15 19:59:53 UTC 2013 - p.drouand@gmail.com diff --git a/python-wsgi_intercept.spec b/python-wsgi_intercept.spec index e5b45ed..3fb809d 100644 --- a/python-wsgi_intercept.spec +++ b/python-wsgi_intercept.spec @@ -1,7 +1,7 @@ # # spec file for package python-wsgi_intercept # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -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-%{version}-py%{py_ver}.egg-info +%{python_sitelib}/wsgi_intercept %changelog