diff --git python-webtest/python-webtest.spec python-webtest/python-webtest.spec.tmp index eaa629ea82..5154af81ac 100644 --- python-webtest/python-webtest.spec +++ python-webtest/python-webtest.spec.tmp @@ -6,7 +6,7 @@ Name: python-webtest Version: 2.0.27 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Helper to test WSGI applications Group: Development/Languages @@ -43,17 +43,24 @@ BuildRequires: python3-webob BuildRequires: python3-WSGIProxy2 %endif -Requires: python-beautifulsoup4 -Requires: python-six -Requires: python-waitress -Requires: python-webob +%global _description\ +WebTest wraps any WSGI application and makes it easy to send test\ +requests to that application, without starting up an HTTP server.\ +\ +This provides convenient full-stack testing of applications written\ +with any WSGI-compatible framework. -%description -WebTest wraps any WSGI application and makes it easy to send test -requests to that application, without starting up an HTTP server. +%description %_description -This provides convenient full-stack testing of applications written -with any WSGI-compatible framework. +%package -n python2-webtest +Summary: %summary +Requires: python-webob +Requires: python-waitress +Requires: python-six +Requires: python-beautifulsoup4 +%{?python_provide:%python_provide python2-webtest} + +%description -n python2-webtest %_description %if 0%{?with_python3} %package -n python3-webtest @@ -120,7 +127,7 @@ PYTHONPATH=$(pwd) nosetests-%{python3_version} popd %endif -%files +%files -n python2-webtest %doc docs/* %{python_sitelib}/webtest %{python_sitelib}/*.egg-info @@ -133,6 +140,10 @@ popd %endif %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 2.0.27-3 +- Python 2 binary package renamed to python2-webtest + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 2.0.27-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild