Python 2 binary package renamed to python2-mako

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-19 09:41:29 -04:00
parent 6596866f7c
commit 6dd6fa9ac7

View File

@ -14,7 +14,7 @@
Name: python-mako
Version: 1.0.6
Release: 4%{?dist}
Release: 5%{?dist}
BuildArch: noarch
# Mostly MIT, but _ast_util.py is Python licensed.
@ -32,8 +32,6 @@ BuildRequires: python-markupsafe
BuildRequires: python-beaker
BuildRequires: python-nose
BuildRequires: python-mock
Requires: python-markupsafe
Requires: python-beaker
%if 0%{?with_python3}
BuildRequires: python3-devel
@ -47,16 +45,26 @@ BuildRequires: python3-nose
%endif
%endif # if with_python3
%description
Mako is a template library written in Python. It provides a familiar, non-XML
syntax which compiles into Python modules for maximum performance. Mako's
syntax and API borrows from the best ideas of many others, including Django
templates, Cheetah, Myghty, and Genshi. Conceptually, Mako is an embedded
Python (i.e. Python Server Page) language, which refines the familiar ideas of
componentized layout and inheritance to produce one of the most straightforward
and flexible models available, while also maintaining close ties to Python
%global _description\
Mako is a template library written in Python. It provides a familiar, non-XML\
syntax which compiles into Python modules for maximum performance. Mako's\
syntax and API borrows from the best ideas of many others, including Django\
templates, Cheetah, Myghty, and Genshi. Conceptually, Mako is an embedded\
Python (i.e. Python Server Page) language, which refines the familiar ideas of\
componentized layout and inheritance to produce one of the most straightforward\
and flexible models available, while also maintaining close ties to Python\
calling and scoping semantics.
%description %_description
%package -n python2-mako
Summary: %summary
Requires: python-markupsafe
Requires: python-beaker
%{?python_provide:%python_provide python2-mako}
%description -n python2-mako %_description
%package doc
Summary: Documentation for the Mako template library for Python
Group: Documentation
@ -142,7 +150,7 @@ popd
rm -rf %{buildroot}
%files
%files -n python2-mako
%defattr(-,root,root,-)
%license LICENSE
%doc CHANGES README.rst examples
@ -163,6 +171,10 @@ rm -rf %{buildroot}
%changelog
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.0.6-5
- Python 2 binary package renamed to python2-mako
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild