diff --git a/python-Jinja2.spec b/python-Jinja2.spec index 76d4127..47dbcc6 100644 --- a/python-Jinja2.spec +++ b/python-Jinja2.spec @@ -1,42 +1,23 @@ Name: python-Jinja2 -Version: 2.10.3 -Release: 1mamba +Version: 3.0.0a1 +Release: 2mamba Summary: A small but fast and easy to use stand-alone template engine written in pure python. Group: System/Libraries/Python Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: http://jinja.pocoo.org/ +URL: https://jinja.pocoo.org/ Source: http://pypi.debian.net/Jinja2/Jinja2-%{version}.tar.gz License: BSD ## AUTOBUILDREQ-BEGIN -BuildRequires: libpython-devel +BuildRequires: libpython3-devel ## AUTOBUILDREQ-END -Requires: python >= %python_version -Requires: python-markupsafe -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Jinja2 is a template engine written in pure Python. It provides a Django inspired non-XML syntax but supports inline expressions and an optional sandboxed environment. -%if "%?with_pyver" -%define pyver %{with_pyver} -%define __python %(rpm --eval %{__python%{with_pyver}}) -%define python_sitearch %(rpm --eval %{python%{with_pyver}_sitearch}) -%define python_sitelib %(rpm --eval %{python%{with_pyver}_sitelib}) -%define python_inc %(rpm --eval %{python%{with_pyver}_inc}) -%define python_version %(rpm --eval %{python%{with_pyver}_version}) -%define python_provides %(rpm --eval %{python%{with_pyver}_provides}) -%define python_requires %(rpm --eval %{python%{with_pyver}_requires}) -%define py_requires %(rpm --eval %{py%{with_pyver}_requires}) - -%package py%{pyver} -Group: System/Libraries/Python -Summary: %{summary} -%py_requires - -%description py%{pyver} -Jinja2 is a template engine written in pure Python. It provides a Django inspired non-XML syntax but supports inline expressions and an optional sandboxed environment. +%if "%{?with_pyver}" +%pyver_package %endif %prep @@ -50,21 +31,26 @@ CFLAGS="%{optflags}" %{__python} setup.py build %{__python} setup.py install \ --root="%{buildroot}" \ --install-headers=%{_includedir}/python \ - --install-lib=%{python_sitearch} + --install-lib=%{python_sitearch} \ + --record=%{name}.filelist + +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%if "%?with_pyver" -%files py%{pyver} -%else -%files -%endif +%files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) -%{python_sitearch}/jinja2/* +%dir %{python_sitearch}/Jinja2-%{version}-py*.egg-info %{python_sitearch}/Jinja2-%{version}-py*.egg-info/* %changelog +* Sat Apr 03 2021 Silvan Calarco 3.0.0a1-2mamba +- rebuilt with distdeps + +* Mon Sep 14 2020 Automatic Build System 3.0.0a1-1mamba +- automatic update by autodist + * Mon Dec 30 2019 Silvan Calarco 2.10.3-1mamba - update to 2.10.3