add installation dependency and description information
This commit is contained in:
parent
a68dddb046
commit
8788be5860
@ -1,7 +1,7 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-bleach
|
Name: python-bleach
|
||||||
Version: 3.2.1
|
Version: 3.2.1
|
||||||
Release: 1
|
Release: 2
|
||||||
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
|
||||||
@ -11,8 +11,11 @@ BuildArch: noarch
|
|||||||
Requires: python3-packaging
|
Requires: python3-packaging
|
||||||
Requires: python3-six
|
Requires: python3-six
|
||||||
Requires: python3-webencodings
|
Requires: python3-webencodings
|
||||||
|
Recommends: %{name}-help = %{version}-%{release}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
Bleach is an HTML sanitizing library that escapes or strips markup and
|
||||||
|
attributes based on a white list.
|
||||||
|
|
||||||
|
|
||||||
%package -n python3-bleach
|
%package -n python3-bleach
|
||||||
@ -21,13 +24,14 @@ Provides: python-bleach
|
|||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
%description -n python3-bleach
|
%description -n python3-bleach
|
||||||
|
Bleach is an HTML sanitizing library that escapes or strips markup and
|
||||||
|
attributes based on a white list.
|
||||||
|
|
||||||
%package help
|
%package help
|
||||||
Summary: Development documents and examples for bleach
|
Summary: Development documents and examples for bleach
|
||||||
Provides: python3-bleach-doc
|
Provides: python3-bleach-doc
|
||||||
%description help
|
%description help
|
||||||
|
Development documents and examples for bleach
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n bleach-3.2.1
|
%autosetup -n bleach-3.2.1
|
||||||
@ -70,5 +74,8 @@ mv %{buildroot}/doclist.lst .
|
|||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Oct 22 2020 zhangjiapeng <zhangjiapeng9@huawei.com> - 3.2.1-1
|
||||||
- package init
|
- package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user