2019-09-30 11:15:16 -04:00
|
|
|
%global _description\
|
|
|
|
|
MarkupSafe implements a text object that escapes characters so it is safe to use in HTML and XML.\
|
|
|
|
|
Characters that have special meanings are replaced so that they display as the actual characters.\
|
|
|
|
|
This mitigates injection attacks, meaning untrusted user input can safely be displayed on a page.
|
|
|
|
|
|
|
|
|
|
Name: python-markupsafe
|
2020-07-24 16:18:36 +08:00
|
|
|
Version: 1.1.1
|
2021-06-23 15:51:16 +08:00
|
|
|
Release: 8
|
2019-09-30 11:15:16 -04:00
|
|
|
Summary: Safely add untrusted strings to HTML/XML markup.
|
|
|
|
|
License: BSD
|
|
|
|
|
URL: https://pypi.org/project/MarkupSafe/
|
|
|
|
|
Source0: https://files.pythonhosted.org/packages/source/M/MarkupSafe/MarkupSafe-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
%description %_description
|
|
|
|
|
|
|
|
|
|
%package -n python3-markupsafe
|
|
|
|
|
Summary: %{summary}
|
2021-06-23 15:51:16 +08:00
|
|
|
BuildRequires: python3-devel python3-setuptools gcc
|
2019-09-30 11:15:16 -04:00
|
|
|
%{?python_provide:%python_provide python3-markupsafe}
|
|
|
|
|
|
|
|
|
|
%description -n python3-markupsafe %_description
|
|
|
|
|
|
|
|
|
|
%package_help
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n MarkupSafe-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%py3_install
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%{__python3} setup.py test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python3-markupsafe
|
|
|
|
|
%{python3_sitearch}/*.egg-info/
|
|
|
|
|
%exclude %{python3_sitearch}/markupsafe/_speedups.c
|
|
|
|
|
%{python3_sitearch}/markupsafe/
|
|
|
|
|
|
|
|
|
|
%files help
|
2020-07-24 16:18:36 +08:00
|
|
|
%doc README.rst
|
2019-09-30 11:15:16 -04:00
|
|
|
|
|
|
|
|
%changelog
|
2021-06-23 15:51:16 +08:00
|
|
|
* Wed Jun 23 2021 yuanxin<yuanxin24@huawei.com> - 1.1.1-8
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:add buildrequires gcc
|
|
|
|
|
|
2020-11-04 14:38:41 +08:00
|
|
|
* Fri Oct 30 2020 wuchaochao <wuchaochao4@huawei.com> - 1.1.1-7
|
|
|
|
|
- Type:bufix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:remove python2
|
|
|
|
|
|
2020-07-24 16:18:36 +08:00
|
|
|
* Sat Jul 25 2020 tianwei <tianwei12@huawei.com> - 1.1.1-6
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:update to release 1.1.1
|
|
|
|
|
|
2019-11-06 19:49:28 +08:00
|
|
|
* Fri Oct 11 2019 yefei <yefei25@huawei.com> - 1.0-3
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:move author from doc to license
|
|
|
|
|
|
2019-09-30 11:15:16 -04:00
|
|
|
* Mon Sep 16 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.0-2
|
|
|
|
|
- Package init
|