diff --git a/python-markupsafe.spec b/python-markupsafe.spec index 4eb2b280fb0887660ce306ed3a81d2ec887451d3..353692b9922df77eea3e536d9c63cf7931d8abb3 100644 --- a/python-markupsafe.spec +++ b/python-markupsafe.spec @@ -4,10 +4,10 @@ Characters that have special meanings are replaced so that they display as the a This mitigates injection attacks, meaning untrusted user input can safely be displayed on a page. Name: python-markupsafe -Version: 2.1.5 -Release: 1 +Version: 2.1.5 +Release: 2 Summary: Safely add untrusted strings to HTML/XML markup. -License: BSD +License: BSD-3-Clause URL: https://pypi.org/project/MarkupSafe/ Source0: https://files.pythonhosted.org/packages/source/M/MarkupSafe/MarkupSafe-%{version}.tar.gz @@ -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,8 +34,7 @@ BuildRequires: python3-devel python3-setuptools gcc %py3_install %check -%{__python3} setup.py test - +%pytest %files -n python3-markupsafe %{python3_sitearch}/*.egg-info/ @@ -45,6 +45,9 @@ BuildRequires: python3-devel python3-setuptools gcc %doc README.rst %changelog +* Mon Jul 14 2025 Funda Wang - 2.1.5-2 +- fix test usage + * Wed Jun 12 2024 zeng liwen - 2.1.5-1 - Update to 2.1.5 - Don’t use regular expressions for striptags, avoiding a performance issue diff --git a/python-markupsafe.yaml b/python-markupsafe.yaml index e73a4cf736dec5ec68ed776333fb74c4eaa12813..089c4b64bca6a2e356ebbe953b03524ddb0c813a 100644 --- a/python-markupsafe.yaml +++ b/python-markupsafe.yaml @@ -1,4 +1,4 @@ -version_control: pypi -src_repo: asn1crypto -tag_prefix: ^v -seperator: . \ No newline at end of file +version_control: pypi +src_repo: asn1crypto +tag_prefix: ^v +separator: .