diff --git a/bleach-5.0.1.tar.gz b/bleach-5.0.1.tar.gz deleted file mode 100644 index cd0d2fc38bd55225e5475600e0f9ec84a173aab7..0000000000000000000000000000000000000000 Binary files a/bleach-5.0.1.tar.gz and /dev/null differ diff --git a/bleach-6.0.0.tar.gz b/bleach-6.0.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..2614f8679bc8ef4b5eeb725982bdf7236d6573ac Binary files /dev/null and b/bleach-6.0.0.tar.gz differ diff --git a/python-bleach.spec b/python-bleach.spec index de3ffebb12aec2bba68d7fb8669db37301bedbee..b7f6da86305fd5d0d823f3ceaaec1183878342ff 100644 --- a/python-bleach.spec +++ b/python-bleach.spec @@ -1,26 +1,24 @@ %global _empty_manifest_terminate_build 0 Name: python-bleach -Version: 5.0.1 +Version: 6.0.0 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/c2/5d/d5d45a38163ede3342d6ac1ca01b5d387329daadf534a25718f9a9ba818c/bleach-5.0.1.tar.gz +Source0: https://files.pythonhosted.org/packages/7e/e6/d5f220ca638f6a25557a611860482cb6e54b2d97f0332966b1b005742e1f/bleach-6.0.0.tar.gz BuildArch: noarch -Requires: python3-six -Requires: python3-webencodings -Recommends: %{name}-help = %{version}-%{release} - %description Bleach is an HTML sanitizing library that escapes or strips markup and attributes based on a white list. %package -n python3-bleach Summary: An easy safelist-based HTML-sanitizing tool. -Provides: python-bleach +Provides: python-bleach = %{version}-%{release} BuildRequires: python3-devel BuildRequires: python3-setuptools +Requires: python3-six +Requires: python3-webencodings %description -n python3-bleach Bleach is an HTML sanitizing library that escapes or strips markup and attributes based on a white list. @@ -29,10 +27,11 @@ attributes based on a white list. Summary: Development documents and examples for bleach Provides: python3-bleach-doc %description help -Development documents and examples for bleach +Bleach is an HTML sanitizing library that escapes or strips markup and +attributes based on a white list. %prep -%autosetup -n bleach-5.0.1 +%autosetup -n bleach-%{version} %build %py3_build @@ -44,6 +43,9 @@ if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +if [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fi +if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi +if [ -f README.txt ]; then cp -af README.txt %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst @@ -72,6 +74,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Mon Mar 06 2023 wangjunqi - 6.0.0-1 +- Update package to version 6.0.0 + * Wed Aug 10 2022 liqiuyu - 5.0.1-1 - update to 5.0.1 @@ -79,4 +84,4 @@ mv %{buildroot}/doclist.lst . - add installation dependency and description information * Thu Oct 22 2020 zhangjiapeng - 3.2.1-1 -- package init \ No newline at end of file +- package init