# Created by pyp2rpm-3.3.6 %global pypi_name flake8-2020 Name: python-%{pypi_name} Version: 1.6.0 Release: 1%{?dist} Summary: flake8 plugin which checks for misuse of sys.version or sys License: MIT URL: https://github.com/asottile/flake8-2020 Source0: https://files.pythonhosted.org/packages/source/f/%{pypi_name}/flake8_2020-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(setuptools) %description [![Build Status]( [![Azure DevOps coverage]( flake8 plugin which checks for misuse of sys.version or sys.version_infothis will become a problem when python3.10 or python4.0 exists (presumably during the year 2020).you might also find an early build of [python3.10] useful %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} Requires: python3dist(flake8) >= 3.7 Requires: python3dist(importlib-metadata) >= 0.9 Requires: python3dist(setuptools) %description -n python3-%{pypi_name} [![Build Status]( [![Azure DevOps coverage]( flake8 plugin which checks for misuse of sys.version or sys.version_infothis will become a problem when python3.10 or python4.0 exists (presumably during the year 2020).you might also find an early build of [python3.10] useful %prep %autosetup -n flake8_2020-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %py3_build %install %py3_install %files -n python3-%{pypi_name} %license LICENSE %doc README.md %{python3_sitelib}/__pycache__/* %{python3_sitelib}/flake8_2020.py %{python3_sitelib}/flake8_2020-%{version}-py%{python3_version}.egg-info %changelog * Tue Sep 21 2021 mockbuilder - 1.6.0-1 - Initial package.