%global srcname setuptools-lint Name: python-%{srcname} Version: 0.6.0 Release: 1%{?dist} Summary: This package expose pylint as a lint command into setup.py License: BSD URL: https://github.com/johnnoone/setuptools-pylint Source0: %{pypi_source} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pylint %description This package expose pylint as a lint command into setup.py %package -n python3-%{srcname} Summary: This package expose pylint as a lint command into setup.py Requires: python3-pylint %description -n python3-%{srcname} This package expose pylint as a lint command into setup.py %prep %autosetup -n %{srcname}-%{version} %build %py3_build %install %py3_install %check %{__python3} setup.py test %files -n python3-%{srcname} %doc README.rst NEWS.txt %{python3_sitelib}/* %changelog * Thu Apr 11 2019 Mairi Dulaney - 0.6.0-1 - Initial Packaging