# Created by pyp2rpm-3.3.4 %global pypi_name ftfy Name: python-%{pypi_name} Version: 5.8 Release: 1%{?dist} Summary: Fixes some problems with Unicode text after the fact License: MIT URL: http://github.com/LuminosoInsight/python-ftfy Source0: %{pypi_source} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(pytest) BuildRequires: python3dist(setuptools) BuildRequires: python3dist(wcwidth) %description ftfy: fixes text for you[![Travis]( [![PyPI package]( [![Docs]( >>> print(fix_encoding("(ง'⌣')ง"))Full documentation: **** Testimonials- “My life is livable again!” — [@planarrowspace]( - “A handy piece of magic” — [@simonw]( %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} Requires: python3dist(setuptools) Requires: python3dist(wcwidth) %description -n python3-%{pypi_name} ftfy: fixes text for you[![Travis]( [![PyPI package]( [![Docs]( >>> print(fix_encoding("(ง'⌣')ง"))Full documentation: **** Testimonials- “My life is livable again!” — [@planarrowspace]( - “A handy piece of magic” — [@simonw]( %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.txt %doc README.md %{_bindir}/ftfy %{python3_sitelib}/%{pypi_name} %{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info %changelog * Wed Sep 30 2020 Itamar Reis Peixoto - 5.8-1 - Initial package.