# Created by pyp2rpm-3.3.2 %global pypi_name google-pasta Name: python-%{pypi_name} Version: 0.1.4 Release: 1%{?dist} Summary: pasta is an AST-based Python refactoring library License: Apache 2.0 URL: None Source0: https://files.pythonhosted.org/packages/4b/74/b77ad523562fd532b48b3e9d3c9e587a3b68cdf1a7997fc7566eae88f296/%{pypi_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(six) >= 1.9.0 BuildRequires: python3dist(setuptools) %description %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} Requires: python3dist(six) %description -n python3-%{pypi_name} %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} %doc README.md %{python3_sitelib}/pasta %{python3_sitelib}/google_pasta-%{version}-py?.?.egg-info %changelog * Sat Mar 16 2019 mockbuilder - 0.1.4-1 - Initial package.