# Created by pyp2rpm-3.3.4 %global pypi_name unicodedata2 Name: python-%{pypi_name} Version: 13.0.0.post2 Release: 1%{?dist} Summary: Unicodedata backport for Python 2/3 updated to the latest Unicode version License: Apache License 2.0 URL: http://github.com/mikekap/unicodedata2 Source0: %{pypi_source} BuildRequires: gcc BuildRequires: python3-devel BuildRequires: python3dist(setuptools) %description [![Travis Build Status]( [unicodedata] backport/updates to Python 3 and Python 2.The versions of this package match Unicode versions, so unicodedata213.0.0 is data from Unicode 13.0.0. Additionally this backports support for named aliases and named sequences to Python 2.Pre-compiled wheel packages are available on [PyPI] and can be installed via pip.[unicodedata]: [PyPI]: run the tests using... %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} [![Travis Build Status]( [unicodedata] backport/updates to Python 3 and Python 2.The versions of this package match Unicode versions, so unicodedata213.0.0 is data from Unicode 13.0.0. Additionally this backports support for named aliases and named sequences to Python 2.Pre-compiled wheel packages are available on [PyPI] and can be installed via pip.[unicodedata]: [PyPI]: run the tests using... %prep %autosetup -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %py3_build %install %py3_install %check %{__python3} setup.py test %files -n python3-%{pypi_name} %license LICENSE %doc README.md %{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info %{python3_sitearch}/%{pypi_name}.*.so %changelog * Mon Aug 24 2020 Peter Oliver - 13.0.0.post2-1 - Initial package.