diff --git python-flask-rstpages/python-flask-rstpages.spec python-flask-rstpages/python-flask-rstpages.spec.tmp index aa4c391d58..557510c5c3 100644 --- python-flask-rstpages/python-flask-rstpages.spec +++ python-flask-rstpages/python-flask-rstpages.spec.tmp @@ -16,13 +16,12 @@ Name: python-flask-rstpages Version: 0.3 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Adds support for reStructuredText to a Flask application License: BSD URL: http://flask-rstpages.readthedocs.org/ Source0: https://pypi.python.org/packages/source/F/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch -Provides: Flask-RSTPages BuildRequires: python-devel BuildRequires: python-flask @@ -34,13 +33,21 @@ BuildRequires: python3-flask BuildRequires: python3-sphinx %endif # if with_python3 +%global _description\ +Flask-RSTPages adds support for reStructuredText\ +to your Flask application. + +%description %_description + +%package -n python2-flask-rstpages +Summary: %summary +Provides: Flask-RSTPages Requires: python-flask Requires: python-pygments Requires: python-docutils +%{?python_provide:%python_provide python2-flask-rstpages} -%description -Flask-RSTPages adds support for reStructuredText -to your Flask application. +%description -n python2-flask-rstpages %_description %if 0%{?with_python3} %package -n python3-flask-rstpages @@ -100,7 +107,7 @@ popd %{__python2} setup.py install --skip-build --root %{buildroot} -%files +%files -n python2-flask-rstpages %doc html LICENSE %{python2_sitelib}/flask_rstpages %{python2_sitelib}/Flask_RSTPages-%{version}-py?.?.egg-info @@ -113,6 +120,10 @@ popd %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.3-11 +- Python 2 binary package renamed to python2-flask-rstpages + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.3-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild