diff --git a/python-flask-wtf.spec b/python-flask-wtf.spec index 9ac463eb09..c5e17d72d1 100644 --- a/python-flask-wtf.spec +++ b/python-flask-wtf.spec @@ -3,7 +3,7 @@ Name: python-flask-wtf Version: 0.10.0 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Simple integration of Flask and WTForms Group: Development/Libraries @@ -27,18 +27,24 @@ BuildRequires: python3-nose # check can't work with python3 until builds for python3-flask-babel are available #BuildRequires: python3-flask-babel %endif -Requires: python-wtforms > 1.0 -%if 0%{?with_python3} -Requires: python-wtforms > 1.0 -%endif -%description -Flask-WTF offers simple integration with WTForms. This integration +%global _description\ +Flask-WTF offers simple integration with WTForms. This integration\ includes optional CSRF handling for greater security. +%description %_description + +%package -n python2-flask-wtf +Summary: %summary +Requires: python-wtforms > 1.0 +%{?python_provide:%python_provide python2-flask-wtf} + +%description -n python2-flask-wtf %_description + %if 0%{?with_python3} %package -n python3-flask-wtf Summary: Simple integration of Flask and WTForms +Requires: python3-wtforms > 1.0 %description -n python3-flask-wtf Flask-WTF offers simple integration with WTForms. This integration @@ -83,7 +89,7 @@ pushd %{py3dir} popd %endif -%files +%files -n python2-flask-wtf %doc docs/ LICENSE PKG-INFO %{python2_sitelib}/*.egg-info/ %{python2_sitelib}/flask_wtf/ @@ -97,6 +103,10 @@ popd %changelog +* Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek - 0.10.0-10 +- Python 2 binary package renamed to python2-flask-wtf + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.10.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild