From 68cb577fe446db5cbd851786cddd339b615d07f7 Mon Sep 17 00:00:00 2001 From: yixiangzhike Date: Tue, 5 Aug 2025 11:57:05 +0800 Subject: [PATCH] Sync from master to fix test usage (cherry picked from commit 2a00157a662be1f0322836b95b75f13644f089f2) --- python-markupsafe.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/python-markupsafe.spec b/python-markupsafe.spec index caf2b6e..d3c9e09 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 -- Gitee