diff --git a/python-Jinja2.changes b/python-Jinja2.changes index 77d8a8a..3bcdc70 100644 --- a/python-Jinja2.changes +++ b/python-Jinja2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 19 03:45:55 UTC 2019 - John Vandenberg + +- Activate test suite +- Add minimum build dependency to match runtime dependency + ------------------------------------------------------------------- Mon Dec 10 12:43:01 UTC 2018 - Tomáš Chvátal diff --git a/python-Jinja2.spec b/python-Jinja2.spec index 4151fe8..4ad893c 100644 --- a/python-Jinja2.spec +++ b/python-Jinja2.spec @@ -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