diff --git a/python-markupsafe.spec b/python-markupsafe.spec index f645e54740c3671d04ec62c1d6497c314282f9ae..d2dbb0bfce0120029b1dfc44bada5a5ff4b4a3b5 100644 --- a/python-markupsafe.spec +++ b/python-markupsafe.spec @@ -5,12 +5,14 @@ This mitigates injection attacks, meaning untrusted user input can safely be dis Name: python-markupsafe Version: 2.0.1 -Release: 3 +Release: 4 Summary: Safely add untrusted strings to HTML/XML markup. License: BSD URL: https://pypi.org/project/MarkupSafe/ Source0: https://files.pythonhosted.org/packages/source/M/MarkupSafe/MarkupSafe-%{version}.tar.gz +BuildRequires: python3-pytest + %description %_description %package -n python3-markupsafe @@ -35,7 +37,8 @@ Provides: python%{python3_version}dist(markupsafe) = %{version} %py3_install %check -%{__python3} setup.py test +export PYTHONPATH=%{buildroot}%{python3_sitearch} +%{__python3} -m pytest %files -n python3-markupsafe @@ -47,6 +50,12 @@ Provides: python%{python3_version}dist(markupsafe) = %{version} %doc README.rst %changelog +* Wed Dec 21 2022 zhuofeng -2.0.1-4 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:make the test check + * Wed Oct 26 2022 zhangruifang - 2.0.1-3 - Rebuild for next release