%global srcname markupsafe %global _description \ A library for safe markup escaping. Name: python3-markupsafe Version: 1.1.0 Release: 1%{?dist} Summary: Implements a XML/HTML/XHTML Markup safe string for Python License: BSD URL: https://pypi.org/project/MarkupSafe/ Source0: https://files.pythonhosted.org/packages/ac/7e/1b4c2e05809a4414ebce0892fe1e32c14ace86ca7d50c70f00979ca9b3a3/MarkupSafe-%{version}.tar.gz %description %{_description} %package -n python%{python3_pkgversion}-%{srcname} Summary: %summary BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-setuptools %description -n python%{python3_pkgversion}-%{srcname} %{_description} This package contains the %{srcname} module built for use with python%{python3_pkgversion}. %package -n python%{python3_other_pkgversion}-%{srcname} Summary: %summary BuildRequires: python%{python3_other_pkgversion}-devel BuildRequires: python%{python3_other_pkgversion}-setuptools %description -n python%{python3_other_pkgversion}-%{srcname} %{_description} This package contains the %{srcname} module built for use with python%{python3_other_pkgversion}. ² %prep %setup -q -n MarkupSafe-%{version} %build %py3_build %py3_other_build %install %py3_install %py3_other_install %check %{__python3} setup.py test %{__python3_other} setup.py test %files -n python%{python3_pkgversion}-%{srcname} %license LICENSE.rst %doc CHANGES.rst README.rst %{python3_sitearch}/* %files -n python%{python3_other_pkgversion}-%{srcname} %license LICENSE.rst %doc CHANGES.rst README.rst %{python3_other_sitearch}/* %changelog * Mon Jan 07 2019 Jean-Marc Liger - 1.1.0-1 - Update to 1.1.0 - Rebuild with python34 and python36 for COPR EL7 * Fri Sep 16 2016 Orion Poplawski - 0.23-1 - Initial EPEL package