15
0
forked from pool/python-Jinja2

Accepting request 677238 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/677238
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Jinja2?expand=0&rev=33
This commit is contained in:
Stephan Kulow
2019-02-24 19:46:44 +00:00
committed by Git OBS Bridge
2 changed files with 12 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Feb 19 03:45:55 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Activate test suite
- Add minimum build dependency to match runtime dependency
-------------------------------------------------------------------
Mon Dec 10 12:43:01 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-Jinja2
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 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
@@ -26,7 +26,8 @@ License: BSD-3-Clause
Group: Development/Languages/Python
URL: http://jinja.pocoo.org/
Source: https://files.pythonhosted.org/packages/source/J/Jinja2/Jinja2-%{version}.tar.gz
BuildRequires: %{python_module MarkupSafe}
BuildRequires: %{python_module MarkupSafe >= 0.23}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -93,6 +94,9 @@ install -Dm644 ext/jinja.el %{buildroot}%{_datadir}/emacs/site-lisp/jinja.el # I
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif
%check
%python_exec -m pytest
%files %{python_files}
%license LICENSE
%doc AUTHORS README.rst CHANGES.rst artwork examples