!2 add installation dependency and description information

From: @jpzhang187
Reviewed-by: @lyn1001,@myeuler
Signed-off-by: @myeuler
This commit is contained in:
openeuler-ci-bot 2020-11-24 18:11:55 +08:00 committed by Gitee
commit 3502c5d011

View File

@ -1,7 +1,7 @@
%global _empty_manifest_terminate_build 0
Name: python-bleach
Version: 3.2.1
Release: 1
Release: 2
Summary: An easy safelist-based HTML-sanitizing tool.
License: Apache-2.0
URL: https://github.com/mozilla/bleach
@ -11,8 +11,11 @@ BuildArch: noarch
Requires: python3-packaging
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
@ -21,13 +24,14 @@ Provides: python-bleach
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%description -n python3-bleach
Bleach is an HTML sanitizing library that escapes or strips markup and
attributes based on a white list.
%package help
Summary: Development documents and examples for bleach
Provides: python3-bleach-doc
%description help
Development documents and examples for bleach
%prep
%autosetup -n bleach-3.2.1
@ -70,5 +74,8 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Tue Nov 24 2020 zhangjiapeng <zhangjiapeng9@huawei.com> - 3.2.1-2
- add installation dependency and description information
* Thu Oct 22 2020 zhangjiapeng <zhangjiapeng9@huawei.com> - 3.2.1-1
- package init