From da8d9059a6ce8594bd045826b6bc95e0f0d25098 Mon Sep 17 00:00:00 2001 From: weiwei_tiantian Date: Wed, 16 Feb 2022 16:33:08 +0800 Subject: [PATCH] enable check --- python-jinja2.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/python-jinja2.spec b/python-jinja2.spec index d38f6be..c68b175 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