diff --git a/python-flask-mako.spec b/python-flask-mako.spec index 7d7dbc5..dd0b5b0 100644 --- a/python-flask-mako.spec +++ b/python-flask-mako.spec @@ -1,13 +1,10 @@ -%if 0%{?fedora} -%global with_python3 1 -%endif %global srcname Flask-Mako %global eggname Flask_Mako Name: python-flask-mako Version: 0.4 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Mako templating support for Flask applications Group: Development/Libraries License: BSD @@ -16,35 +13,16 @@ Source0: http://pypi.python.org/packages/source/F/%{srcname}/%{srcnam BuildArch: noarch -BuildRequires: python2-devel -BuildRequires: python2-setuptools -BuildRequires: python2-flask -BuildRequires: python2-mako - -%if 0%{?with_python3} BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-flask BuildRequires: python3-mako -%endif %description This extension for the Flask micro web framework allows developers to use Mako Templates instead of the default Jinja2 templating engine. -%package -n python2-flask-mako -Summary: Mako templating support for Flask applications -%{?python_provide:%python_provide python2-flask-mako} - -Requires: python2-flask -Requires: python2-mako - -%description -n python2-flask-mako -This extension for the Flask micro web framework allows developers -to use Mako Templates instead of the default Jinja2 templating engine. - -%if 0%{?with_python3} %package -n python3-flask-mako Summary: Mako templating support for Flask applications %{?python_provide:%python_provide python3-flask-mako} @@ -55,38 +33,28 @@ Requires: python3-mako %description -n python3-flask-mako This extension for the Flask micro web framework allows developers to use Mako Templates instead of the default Jinja2 templating engine. -%endif %prep %autosetup -n %{srcname}-%{version} %build -%py2_build -%if 0%{?with_python3} %py3_build -%endif %install -%py2_install -%if 0%{?with_python3} %py3_install -%endif -%files -n python2-flask-mako -%doc PKG-INFO -%{python2_sitelib}/flask_mako.py* -%{python2_sitelib}/%{eggname}-%{version}* - -%if 0%{?with_python3} %files -n python3-flask-mako %doc PKG-INFO %{python3_sitelib}/flask_mako.py* %{python3_sitelib}/%{eggname}-%{version}* %{python3_sitelib}/__pycache__/flask_mako* -%endif %changelog +* Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek - 0.4-10 +- Subpackage python2-flask-mako has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Sat Jul 14 2018 Fedora Release Engineering - 0.4-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild