From 95cbfbe87d26ec0122a3ad3fe79662f1b07eaec44e01f58a4834482daebfd6ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Fri, 15 Aug 2014 12:37:44 +0000 Subject: [PATCH] Accepting request 244833 from home:Nijel:branches:devel:languages:python - run testsuite during build - adjust dependency to use up to date package name for python-MarkupSafe OBS-URL: https://build.opensuse.org/request/show/244833 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Jinja2?expand=0&rev=41 --- python-Jinja2.changes | 10 ++++++++++ python-Jinja2.spec | 6 +++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/python-Jinja2.changes b/python-Jinja2.changes index f388e9f..5f8d0e2 100644 --- a/python-Jinja2.changes +++ b/python-Jinja2.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Fri Aug 15 12:30:58 UTC 2014 - mcihar@suse.cz + +- run testsuite during build + +------------------------------------------------------------------- +Fri Aug 15 12:29:35 UTC 2014 - mcihar@suse.cz + +- adjust dependency to use up to date package name for python-MarkupSafe + ------------------------------------------------------------------- Tue Jul 15 10:41:00 UTC 2014 - toddrme2178@gmail.com diff --git a/python-Jinja2.spec b/python-Jinja2.spec index 8cffcbc..99d870f 100644 --- a/python-Jinja2.spec +++ b/python-Jinja2.spec @@ -25,11 +25,12 @@ Group: Development/Languages/Python Url: http://jinja.pocoo.org/ Source: http://pypi.python.org/packages/source/J/Jinja2/Jinja2-%{version}.tar.gz BuildRequires: fdupes +BuildRequires: python-MarkupSafe BuildRequires: python-devel BuildRequires: python-setuptools Provides: python-jinja2 = %{version} Obsoletes: python-jinja2 < %{version} -Requires: python-markupsafe +Requires: python-MarkupSafe 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()")} @@ -91,6 +92,9 @@ install -Dm644 ext/jinja.el %{buildroot}%{_datadir}/emacs/site-lisp/jinja.el # I %fdupes %{buildroot}%{_prefix} %endif +%check +python run-tests.py + %files %defattr(-,root,root,-) %doc AUTHORS CHANGES LICENSE artwork examples