diff --git a/python-markupsafe.spec b/python-markupsafe.spec index 67baae5ecc84080db7b8668c2ba899e8dbed069f..4d822f43c19604271ea8820b2928806d5543dd3e 100644 --- a/python-markupsafe.spec +++ b/python-markupsafe.spec @@ -1,6 +1,7 @@ +%define anolis_release .0.1 Name: python-markupsafe Version: 0.23 -Release: 19%{?dist} +Release: 19%{anolis_release}%{?dist} Summary: Implements a XML/HTML/XHTML Markup safe string for Python Group: Development/Languages @@ -13,6 +14,13 @@ BuildRequires: python3-devel python3-setuptools %description A library for safe markup escaping. +%package -n python3-markupsafe-doc +Summary: Documents for python3-markupsafe +Requires: python3-markupsafe = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n python3-markupsafe-doc +Doc pages for python3-markupsafe + %package -n python3-markupsafe Summary: Implements a XML/HTML/XHTML Markup safe string for Python 3 Group: Development/Languages @@ -39,11 +47,15 @@ rm $RPM_BUILD_ROOT/%{python3_sitearch}/markupsafe/*.c %files -n python3-markupsafe %license LICENSE -%doc AUTHORS README.rst %{python3_sitearch}/* +%files -n python3-markupsafe-doc +%doc AUTHORS README.rst %changelog +* Wed Jul 20 2022 mgb01105731 - 0.23-19.0.1 +- Add doc sub package + * Wed Jul 11 2018 Petr Viktorin - 0.23-19 - Remove the Python 2 subpackage https://bugzilla.redhat.com/show_bug.cgi?id=1590415