diff --git a/MarkupSafe-2.1.1.tar.gz b/MarkupSafe-2.1.1.tar.gz deleted file mode 100644 index 3bc5b50d72165b00d5a6ff1aae57f6b171dec254..0000000000000000000000000000000000000000 Binary files a/MarkupSafe-2.1.1.tar.gz and /dev/null differ diff --git a/MarkupSafe-2.1.2.tar.gz b/MarkupSafe-2.1.2.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..5adbf381f92236606623758d9596257f2e572bc6 Binary files /dev/null and b/MarkupSafe-2.1.2.tar.gz differ diff --git a/python-markupsafe.spec b/python-markupsafe.spec index 14687caa399fc4e662cf12e539836b37050b0204..fc81af88177b1e05af5ca23c8320b71916b0e268 100644 --- a/python-markupsafe.spec +++ b/python-markupsafe.spec @@ -1,6 +1,6 @@ %define anolis_release 1 Name: python-markupsafe -Version: 2.1.1 +Version: 2.1.2 Release: %{anolis_release}%{dist} Summary: Implements a XML/HTML/XHTML Markup safe string for Python License: BSD @@ -24,17 +24,25 @@ BuildRequires: python3dist(pytest) %description -n python3-markupsafe A library for safe markup escaping. Python 3 version. +%package -n python3-markupsafe-doc +Summary: doc files for python3-markupsafe +Requires: python3-markupsafe = %{version}-%{release} + +%description -n python3-markupsafe-doc +doc files for python3-markupsafe %prep %autosetup -n MarkupSafe-%{version} +%generate_buildrequires +%pyproject_buildrequires %build -%py3_build +%pyproject_wheel %install -%py3_install +%pyproject_install # C code errantly gets installed rm %{buildroot}%{python3_sitearch}/markupsafe/*.c @@ -45,11 +53,15 @@ rm %{buildroot}%{python3_sitearch}/markupsafe/*.c %files -n python3-markupsafe %license LICENSE.rst -%doc CHANGES.rst README.rst -%{python3_sitearch}/MarkupSafe-%{version}-py%{python3_version}.egg-info/ %{python3_sitearch}/markupsafe/ +%{python3_sitearch}/MarkupSafe-%{version}.dist-info/ +%files -n python3-markupsafe-doc +%doc CHANGES.rst README.rst %changelog +* Wed Feb 22 2023 mgb01105731 - 2.1.2-1 +- update to version 2.1.2 + * Tue Apr 19 2022 Zhongling He 2.1.1-1 - Init package from upstream v2.1.1