diff --git a/python-markupsafe.spec b/python-markupsafe.spec index caf2b6efd881330301ad390267485c3107201fb6..d3c9e095b34bcb73d6e4f32be9974268d72f922f 100644 --- a/python-markupsafe.spec +++ b/python-markupsafe.spec @@ -5,7 +5,7 @@ This mitigates injection attacks, meaning untrusted user input can safely be dis Name: python-markupsafe Version: 2.1.3 -Release: 1 +Release: 2 Summary: Safely add untrusted strings to HTML/XML markup. License: BSD URL: https://pypi.org/project/MarkupSafe/ @@ -16,6 +16,7 @@ Source0: https://files.pythonhosted.org/packages/source/M/MarkupSafe/Mark %package -n python3-markupsafe Summary: %{summary} BuildRequires: python3-devel python3-setuptools gcc +BuildRequires: pytest %{?python_provide:%python_provide python3-markupsafe} %description -n python3-markupsafe %_description @@ -33,7 +34,7 @@ BuildRequires: python3-devel python3-setuptools gcc %py3_install %check -%{__python3} setup.py test +%pytest %files -n python3-markupsafe @@ -45,6 +46,9 @@ BuildRequires: python3-devel python3-setuptools gcc %doc README.rst %changelog +* Tue Aug 5 2025 yixiangzhike - 2.1.3-2 +- Sync from master to fix test usage + * Wed Jul 12 2023 sunhui - 2.1.3-1 - Update package to version 2.1.3