diff --git a/python-mako.spec b/python-mako.spec index b36dfb1..0c1b011 100644 --- a/python-mako.spec +++ b/python-mako.spec @@ -1,6 +1,6 @@ Name: python-mako Version: 1.2.0 -Release: 1mamba +Release: 2mamba Summary: A super-fast templating language that borrows the best ideas from the existing templating languages Group: System/Libraries/Python Vendor: openmamba @@ -8,16 +8,13 @@ Distribution: openmamba Packager: Silvan Calarco URL: https://www.makotemplates.org/ Source: https://pypi.debian.net/Mako/Mako-%{version}.tar.gz -#Source: http://www.makotemplates.org/downloads/Mako-%{version}.tar.gz License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: libpython3-devel +BuildRequires: python3.7dist(importlib-metadata) +BuildRequires: python3.7dist(markupsafe) +BuildRequires: python3.7dist(setuptools) ## AUTOBUILDREQ-END -BuildRequires: libpython3-devel >= 3.7.4 -BuildRequires: python-setuptools-devel -Requires: python >= %python_version -Requires: python-beaker%{?pyappend} -Requires: python-markupsafe%{?pyappend} %description Mako is a template library written in Python. It provides a familiar, non-XML syntax which compiles into Python modules for maximum performance. @@ -41,6 +38,8 @@ Mako's syntax and API borrows from the best ideas of many others, including Djan --install-lib=%{python_sitearch} \ --record=%{name}.filelist +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist + %if 0%{?with_pyver} # conflicting rm -f %{buildroot}%{_bindir}/mako-render @@ -52,10 +51,15 @@ sed -i "/mako-render/d" %{name}.filelist %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) +%dir %{python_sitearch}/Mako-%{version}-py*.egg-info +%{python_sitearch}/Mako-%{version}-py*.egg-info/* %doc LICENSE #CHANGES README doc examples %changelog +* Tue Apr 19 2022 Silvan Calarco 1.2.0-2mamba +- rebuilt with distdeps + * Fri Mar 11 2022 Automatic Build System 1.2.0-1mamba - automatic version update by autodist