- disable tests on 32bit archs

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Jinja2?expand=0&rev=77
This commit is contained in:
Ondřej Súkup 2020-02-21 18:56:40 +00:00 committed by Git OBS Bridge
parent 2c1018a7cb
commit 7681c06c8b
2 changed files with 12 additions and 1 deletions

View File

@ -1,6 +1,11 @@
-------------------------------------------------------------------
Fri Feb 21 18:56:05 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
- disable tests on 32bit archs
-------------------------------------------------------------------
Tue Feb 18 17:26:13 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 2.11.1
* Fix a bug that prevented looking up a key after an attribute
({{ data.items[1:] }}) in an async template

View File

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