[packages/python-jinja2] - updated to 2.10

qboosh qboosh at pld-linux.org
Tue May 29 18:50:21 CEST 2018


commit 6fb399b63eef22d4787566e99dd9f3237da1f3ab
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue May 29 18:51:17 2018 +0200

    - updated to 2.10

 python-jinja2.spec | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/python-jinja2.spec b/python-jinja2.spec
index e5cb8a9..2c83ded 100644
--- a/python-jinja2.spec
+++ b/python-jinja2.spec
@@ -8,13 +8,13 @@
 Summary:	Jinja2 Template engine for Python 2.x
 Summary(pl.UTF-8):	Silnik szablonów Jinja2 dla Pythona 2.x
 Name:		python-%{module}
-Version:	2.9.5
+Version:	2.10
 Release:	1
 License:	BSD
 Group:		Development/Languages/Python
-#Source0Download: https://pypi.python.org/simple/Jinja2
+#Source0Download: https://pypi.org/simple/Jinja2
 Source0:	https://files.pythonhosted.org/packages/source/J/Jinja2/Jinja2-%{version}.tar.gz
-# Source0-md5:	9e55f0db6620dd99a1b366183a94270d
+# Source0-md5:	61ef1117f945486472850819b8d1eb3d
 URL:		http://jinja.pocoo.org/
 BuildRequires:	rpmbuild(macros) >= 1.714
 BuildRequires:	rpm-pythonprov
@@ -88,9 +88,9 @@ Dokumentacja API silnika szablonów Jinja2.
 %endif
 
 %if %{with doc}
-cd docs
-%{__make} -j1 html
-%{__rm} -r _build/html/_sources
+PYTHONPATH=$(pwd) \
+%{__make} -C docs -j1 html \
+	SPHINXBUILD=sphinx-build
 %endif
 
 %install
@@ -112,7 +112,7 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with python2}
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS CHANGES LICENSE
+%doc AUTHORS CHANGES.rst LICENSE README.rst
 %{py_sitescriptdir}/%{module}
 %{py_sitescriptdir}/Jinja2-%{version}-py*.egg-info
 %endif
@@ -120,7 +120,7 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with python3}
 %files -n python3-%{module}
 %defattr(644,root,root,755)
-%doc AUTHORS CHANGES LICENSE
+%doc AUTHORS CHANGES.rst LICENSE README.rst
 %{py3_sitescriptdir}/%{module}
 %{py3_sitescriptdir}/Jinja2-%{version}-py*.egg-info
 %endif
@@ -128,5 +128,5 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with doc}
 %files apidoc
 %defattr(644,root,root,755)
-%doc docs/_build/html/*
+%doc docs/_build/html/{_static,*.html,*.js}
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-jinja2.git/commitdiff/6fb399b63eef22d4787566e99dd9f3237da1f3ab



More information about the pld-cvs-commit mailing list