diff --git a/python-markupsafe.spec b/python-markupsafe.spec index e2942ed..83687aa 100644 --- a/python-markupsafe.spec +++ b/python-markupsafe.spec @@ -9,15 +9,20 @@ Source: https://github.com/pallets/markupsafe/archive/%{version}/markups BuildRequires: gcc BuildRequires: python3-devel -%description -A library for safe markup escaping. +%global _description %{expand: +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.} + +%description %_description %package -n python3-markupsafe -Summary: Implements a XML/HTML/XHTML Markup safe string for Python 3 +Summary: %{summary} -%description -n python3-markupsafe -A library for safe markup escaping. Python 3 version. +%description -n python3-markupsafe %_description %prep