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
This commit is contained in:
Michal Čihař 2014-08-15 12:37:44 +00:00 committed by Git OBS Bridge
parent 3d9ac61e80
commit 95cbfbe87d
2 changed files with 15 additions and 1 deletions

View File

@ -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

View File

@ -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