upgrade to 5.0.1 to fix CVE-2021-23980
(cherry picked from commit 5e46d19e158b120031669c901a3684ad25c3df4b)
This commit is contained in:
parent
3502c5d011
commit
85174ac541
Binary file not shown.
BIN
bleach-5.0.1.tar.gz
Normal file
BIN
bleach-5.0.1.tar.gz
Normal file
Binary file not shown.
@ -1,14 +1,13 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-bleach
|
Name: python-bleach
|
||||||
Version: 3.2.1
|
Version: 5.0.1
|
||||||
Release: 2
|
Release: 1
|
||||||
Summary: An easy safelist-based HTML-sanitizing tool.
|
Summary: An easy safelist-based HTML-sanitizing tool.
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://github.com/mozilla/bleach
|
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
|
BuildArch: noarch
|
||||||
|
|
||||||
Requires: python3-packaging
|
|
||||||
Requires: python3-six
|
Requires: python3-six
|
||||||
Requires: python3-webencodings
|
Requires: python3-webencodings
|
||||||
Recommends: %{name}-help = %{version}-%{release}
|
Recommends: %{name}-help = %{version}-%{release}
|
||||||
@ -34,7 +33,7 @@ Provides: python3-bleach-doc
|
|||||||
Development documents and examples for bleach
|
Development documents and examples for bleach
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n bleach-3.2.1
|
%autosetup -n bleach-5.0.1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
@ -74,6 +73,9 @@ mv %{buildroot}/doclist.lst .
|
|||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Nov 24 2020 zhangjiapeng <zhangjiapeng9@huawei.com> - 3.2.1-2
|
||||||
- add installation dependency and description information
|
- add installation dependency and description information
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user