diff --git python-sphinx-theme-flask/python-sphinx-theme-flask.spec python-sphinx-theme-flask/python-sphinx-theme-flask.spec.tmp index cbfd29e557..639daf6116 100644 --- python-sphinx-theme-flask/python-sphinx-theme-flask.spec +++ python-sphinx-theme-flask/python-sphinx-theme-flask.spec.tmp @@ -7,7 +7,7 @@ Name: python-sphinx-theme-flask Version: git%{commitdate}.%{shortcommit} -Release: 10%{?dist} +Release: 11%{?dist} Summary: Sphinx Themes for Flask related projects and Flask itself %{?el5:Group: Applications/Publishing} @@ -23,18 +23,25 @@ BuildRequires: python2-devel BuildRequires: python3-devel %endif -Requires: python-sphinx +%global _description\ +%{name} contains\ +%{summary}.\ +\ +The following themes exist:\ +\ + * flask - the standard flask documentation theme for large projects\ + * flask_small - small one-page theme. Intended to be used by very small\ +addon libraries for flask.\ -%description -%{name} contains -%{summary}. -The following themes exist: +%description %_description - * flask - the standard flask documentation theme for large projects - * flask_small - small one-page theme. Intended to be used by very small -addon libraries for flask. +%package -n python2-sphinx-theme-flask +Summary: %summary +Requires: python-sphinx +%{?python_provide:%python_provide python2-sphinx-theme-flask} +%description -n python2-sphinx-theme-flask %_description %if 0%{?fedora} || 0%{?rhel} >= 7 %package -n python3-sphinx-theme-flask @@ -76,7 +83,7 @@ cp -pr flask* %{buildroot}%{python3_sitelib}/sphinx/themes %{?el5:rm -rf %{buildroot}} -%files +%files -n python2-sphinx-theme-flask %doc LICENSE README %{python_sitelib}/sphinx/themes/* @@ -88,6 +95,10 @@ cp -pr flask* %{buildroot}%{python3_sitelib}/sphinx/themes %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - git20130715.1cc4468-11 +- Python 2 binary package renamed to python2-sphinx-theme-flask + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - git20130715.1cc4468-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild