enable check

This commit is contained in:
weiwei_tiantian 2022-02-16 16:33:08 +08:00
parent f78c8697c3
commit da8d9059a6

View File

@ -2,7 +2,7 @@
Name: python-jinja2 Name: python-jinja2
Version: 3.0.3 Version: 3.0.3
Release: 1 Release: 2
Summary: A full-featured template engine for Python Summary: A full-featured template engine for Python
License: BSD License: BSD
URL: http://jinja.pocoo.org/ URL: http://jinja.pocoo.org/
@ -47,6 +47,11 @@ pushd python3
%py3_install %py3_install
popd popd
%check
pushd python3
PYTHONPATH=$(pwd)/src python3 -m pytest tests
popd
%files -n python3-jinja2 %files -n python3-jinja2
%license Jinja2-%{version}/LICENSE.rst %license Jinja2-%{version}/LICENSE.rst
%{python3_sitelib}/jinja2 %{python3_sitelib}/jinja2
@ -57,6 +62,9 @@ popd
%doc Jinja2-%{version}/examples %doc Jinja2-%{version}/examples
%changelog %changelog
* Wed Feb 16 2022 liudabo <liudabo1@huawei.com> - 3.0.3-2
- enable check
* Mon Jan 24 2022 tianwei <tianwei12@huawei.com> - 3.0.3-1 * Mon Jan 24 2022 tianwei <tianwei12@huawei.com> - 3.0.3-1
- Upgrade version to 3.0.3 - Upgrade version to 3.0.3