From 7681c06c8b5fa322bd9a4533db60a57f4f274b0067c8e06880c2f65ca5b4ca2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Fri, 21 Feb 2020 18:56:40 +0000 Subject: [PATCH] - disable tests on 32bit archs OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Jinja2?expand=0&rev=77 --- python-Jinja2.changes | 7 ++++++- python-Jinja2.spec | 6 ++++++ 2 files changed, 12 insertions(+), 1 deletion(-) 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