Hello community, here is the log from the commit of package python-Jinja2 for openSUSE:Factory checked in at 2017-04-19 18:07:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Jinja2 (Old) and /work/SRC/openSUSE:Factory/.python-Jinja2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Jinja2" Wed Apr 19 18:07:30 2017 rev:28 rq:485735 version:2.9.6 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Jinja2/python-Jinja2.changes 2015-12-03 13:25:46.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-Jinja2.new/python-Jinja2.changes 2017-04-19 18:07:31.669832369 +0200 @@ -1,0 +2,19 @@ +Tue Apr 4 14:56:17 UTC 2017 - jmate...@suse.com + +- update for singlespec +- update to 2.9.6 + * fixed custom context behavior in fast resolve mode + +------------------------------------------------------------------- +Wed Mar 22 04:39:40 UTC 2017 - dmuel...@suse.com + +- fix requires + +------------------------------------------------------------------- +Wed Mar 15 13:55:57 UTC 2017 - mich...@stroeder.com + +- Update to 2.9.5 + (see the changes in /usr/share/doc/packages/python-Jinja2/CHANGES) +- updated source URL + +------------------------------------------------------------------- Old: ---- Jinja2-2.8.tar.gz New: ---- Jinja2-2.9.6.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Jinja2.spec ++++++ --- /var/tmp/diff_new_pack.HAhhbg/_old 2017-04-19 18:07:32.477718090 +0200 +++ /var/tmp/diff_new_pack.HAhhbg/_new 2017-04-19 18:07:32.477718090 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-Jinja2 # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,27 +16,31 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define oldpython python Name: python-Jinja2 -Version: 2.8 +Version: 2.9.6 Release: 0 Summary: A fast and easy to use template engine written in pure Python License: BSD-3-Clause Group: Development/Languages/Python Url: http://jinja.pocoo.org/ -Source: http://pypi.python.org/packages/source/J/Jinja2/Jinja2-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/J/Jinja2/Jinja2-%{version}.tar.gz +BuildRequires: %{python_module MarkupSafe} +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} BuildRequires: fdupes -BuildRequires: python-MarkupSafe -BuildRequires: python-devel -BuildRequires: python-setuptools -Provides: python-jinja2 = %{version} -Obsoletes: python-jinja2 < %{version} -Requires: python-MarkupSafe +BuildRequires: python-rpm-macros +%ifpython2 +Provides: %{oldpython}-jinja2 = %{version} +Obsoletes: %{oldpython}-jinja2 < %{version} +%endif +Requires: python-Babel >= 0.8 +Requires: python-MarkupSafe >= 0.23 BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else BuildArch: noarch -%endif + +%python_subpackages %description Jinja2 is a template engine written in pure Python. It provides a Django @@ -53,59 +57,55 @@ </ul> {% endblock %} -%package vim +%package -n python-Jinja2-vim Summary: Jinja2 syntax files for Vim License: BSD-3-Clause Group: Productivity/Text/Editors Requires: %{name} = %{version} -%if 0%{?suse_version} >= 1010 Recommends: vim -%endif -%description vim +%description -n python-Jinja2-vim Vim syntax highlighting scheme for Jinja2 templates. -%package emacs +%package -n python-Jinja2-emacs Summary: Jinja2 syntax files for Emacs License: GPL-2.0+ Group: Productivity/Text/Editors Requires: %{name} = %{version} -%if 0%{?suse_version} >= 1010 Recommends: emacs -%endif -%description emacs +%description -n python-Jinja2-emacs Emacs syntax highlighting scheme for Jinja2 templates. %prep %setup -q -n Jinja2-%{version} %build -python setup.py build +%python_build sed -i 's/\r$//' LICENSE # Fix wrong EOL encoding %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install install -Dm644 ext/Vim/jinja.vim %{buildroot}%{_datadir}/vim/site/syntax/jinja.vim # Install VIM syntax file install -Dm644 ext/jinja.el %{buildroot}%{_datadir}/emacs/site-lisp/jinja.el # Install Emacs syntax file %if 0%{?suse_version} %fdupes %{buildroot}%{_prefix} %endif -%files +%files %{python_files} %defattr(-,root,root,-) %doc AUTHORS CHANGES LICENSE artwork examples %{python_sitelib}/jinja2 %{python_sitelib}/Jinja2-%{version}-py%{python_version}.egg-info -%files vim +%files -n python-Jinja2-vim %defattr(-,root,root,-) %dir %{_datadir}/vim %dir %{_datadir}/vim/site %dir %{_datadir}/vim/site/syntax %{_datadir}/vim/site/syntax/jinja.vim -%files emacs +%files -n python-Jinja2-emacs %defattr(-,root,root,-) %{_datadir}/emacs/site-lisp/jinja.el ++++++ Jinja2-2.8.tar.gz -> Jinja2-2.9.6.tar.gz ++++++ ++++ 5818 lines of diff (skipped)