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