!5 [sync] PR-4: upgrade to 5.0.1 to fix CVE-2021-23980

From: @openeuler-sync-bot 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
This commit is contained in:
openeuler-ci-bot 2022-08-19 06:27:21 +00:00 committed by Gitee
commit 0cfda3633c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 7 additions and 5 deletions

Binary file not shown.

BIN
bleach-5.0.1.tar.gz Normal file

Binary file not shown.

View File

@ -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 <panyanshuang@ncti-gba.cn> - 5.0.1-1
- upgrade to 5.0.1 to fix CVE-2021-23980
* Tue Nov 24 2020 zhangjiapeng <zhangjiapeng9@huawei.com> - 3.2.1-2
- add installation dependency and description information