diff --git a/bleach-3.2.1.tar.gz b/bleach-3.2.1.tar.gz deleted file mode 100644 index 4347b3e..0000000 Binary files a/bleach-3.2.1.tar.gz and /dev/null differ diff --git a/bleach-5.0.1.tar.gz b/bleach-5.0.1.tar.gz new file mode 100644 index 0000000..cd0d2fc Binary files /dev/null and b/bleach-5.0.1.tar.gz differ diff --git a/python-bleach.spec b/python-bleach.spec index af63527..9faf888 100644 --- a/python-bleach.spec +++ b/python-bleach.spec @@ -1,14 +1,13 @@ %global _empty_manifest_terminate_build 0 Name: python-bleach -Version: 3.2.1 -Release: 2 +Version: 5.0.1 +Release: 1 Summary: An easy safelist-based HTML-sanitizing tool. License: Apache-2.0 URL: https://github.com/mozilla/bleach -Source0: https://files.pythonhosted.org/packages/04/2c/8e256291cfeaefb72d1dafc888b1ad447e754d8062520b41f1d3ffa7e139/bleach-3.2.1.tar.gz +Source0: https://files.pythonhosted.org/packages/c2/5d/d5d45a38163ede3342d6ac1ca01b5d387329daadf534a25718f9a9ba818c/bleach-5.0.1.tar.gz BuildArch: noarch -Requires: python3-packaging Requires: python3-six Requires: python3-webencodings Recommends: %{name}-help = %{version}-%{release} @@ -34,7 +33,7 @@ Provides: python3-bleach-doc Development documents and examples for bleach %prep -%autosetup -n bleach-3.2.1 +%autosetup -n bleach-5.0.1 %build %py3_build @@ -74,6 +73,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* THU Aug 18 2022 panyanshuang - 5.0.1-1 +- upgrade to 5.0.1 to fix CVE-2021-23980 + * Tue Nov 24 2020 zhangjiapeng - 3.2.1-2 - add installation dependency and description information