diff --git python-flask-babel/python-flask-babel.spec python-flask-babel/python-flask-babel.spec.tmp index cef374ed03..a9e16fc906 100644 --- python-flask-babel/python-flask-babel.spec +++ python-flask-babel/python-flask-babel.spec.tmp @@ -3,7 +3,7 @@ Name: python-%{pkg_name} Version: 0.9 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Adds i18n/l10n support to Flask applications Group: Development/Libraries License: BSD @@ -21,9 +21,17 @@ Patch0: %{name}-tests.patch Patch1: %{name}-more-tests.patch %{?python_provide:%python_provide python-%{pkg_name}} -%description +%global _description\ Adds i18n/l10n support to Flask applications with the help of the Babel library. +%description %_description + +%package -n python2-%{pkg_name} +Summary: %summary +%{?python_provide:%python_provide python2-%{pkg_name}} + +%description -n python2-%{pkg_name} %_description + %package -n python3-%{pkg_name} Summary: Adds i18n/l10n support to Flask applications Requires: python3-babel @@ -60,7 +68,7 @@ cp Makefile{.orig,} sed -i 's|python |%{__python3} |' Makefile PYTHONPATH=$RPM_BUILD_ROOT/%{python3_sitelib}:%{python3_sitelib} make test -%files +%files -n python2-%{pkg_name} %doc docs LICENSE PKG-INFO README %{python2_sitelib}/*.egg-info/ %{python2_sitelib}/flask_babel/*.py* @@ -71,6 +79,10 @@ PYTHONPATH=$RPM_BUILD_ROOT/%{python3_sitelib}:%{python3_sitelib} make test %{python3_sitelib}/flask_babel/* %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.9-11 +- Python 2 binary package renamed to python2-flask-babel + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.9-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild