diff --git a/python-Jinja2.changes b/python-Jinja2.changes index e01b3a4..daed112 100644 --- a/python-Jinja2.changes +++ b/python-Jinja2.changes @@ -1,6 +1,11 @@ +------------------------------------------------------------------- +Fri Feb 21 18:56:05 UTC 2020 - Ondřej Súkup + +- disable tests on 32bit archs + ------------------------------------------------------------------- Tue Feb 18 17:26:13 UTC 2020 - Ondřej Súkup - + - update to 2.11.1 * Fix a bug that prevented looking up a key after an attribute ({{ data.items[1:] }}) in an async template diff --git a/python-Jinja2.spec b/python-Jinja2.spec index 1ae53d9..fa8cdd2 100644 --- a/python-Jinja2.spec +++ b/python-Jinja2.spec @@ -16,6 +16,10 @@ # +%ifarch %{ix86} armv7l +%bcond_with test +%endif + %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python Name: python-Jinja2 @@ -68,8 +72,10 @@ dos2unix LICENSE.rst # Fix wrong EOL encoding install -Dm644 ext/Vim/jinja.vim %{buildroot}%{_datadir}/vim/site/syntax/jinja.vim # Install VIM syntax file %python_expand %fdupes %{buildroot}%{$python_sitelib} +%if %{with tests} %check %pytest +%endif %files %{python_files} %license LICENSE.rst