diff --git python-wtforms/python-wtforms.spec python-wtforms/python-wtforms.spec.tmp index 898e734cfe..89016456bf 100644 --- python-wtforms/python-wtforms.spec +++ python-wtforms/python-wtforms.spec.tmp @@ -5,7 +5,7 @@ Name: python-wtforms Version: 2.0 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Forms validation and rendering library for python Group: Development/Libraries @@ -24,11 +24,19 @@ BuildRequires: python3-devel BuildRequires: python3-setuptools %endif -%description -With wtforms, your form field HTML can be generated for you. -This allows you to maintain separation of code and presentation, +%global _description\ +With wtforms, your form field HTML can be generated for you.\ +This allows you to maintain separation of code and presentation,\ and keep those messy parameters out of your python code. +%description %_description + +%package -n python2-wtforms +Summary: %summary +%{?python_provide:%python_provide python2-wtforms} + +%description -n python2-wtforms %_description + %if 0%{?with_python3} %package -n python3-wtforms Summary: Forms validation and rendering library for python @@ -80,7 +88,7 @@ popd %find_lang wtforms -%files -f wtforms.lang +%files -n python2-wtforms -f wtforms.lang %doc docs/ LICENSE.txt PKG-INFO %{python_sitelib}/*.egg-info %{python_sitelib}/wtforms/ @@ -93,6 +101,10 @@ popd %endif %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 2.0-11 +- Python 2 binary package renamed to python2-wtforms + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 2.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild