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