diff --git python-webtest/python-webtest.spec python-webtest/python-webtest.spec.tmp index eaa629ea82..ca79f8039c 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 +%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 %_description + +%package -n python2-webtest +Summary: %summary Requires: python-beautifulsoup4 Requires: python-six Requires: python-waitress Requires: python-webob +%{?python_provide:%python_provide python2-webtest} -%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 -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 +* Sat Aug 12 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