%global modname pebble Name: python-%{modname} Version: 4.5.3 Release: 1%{?dist} Summary: Threading and multiprocessing eye-candy for Python License: LGPLv3+ URL: https://github.com/noxdafox/pebble Source: %{pypi_source Pebble} BuildArch: noarch %global _description %{expand: Pebble provides an API to manage threads and processes within an application. It wraps Python’s standard library threading and multiprocessing objects.} %description %_description %package -n python3-%{modname} Summary: %{summary} %{?python_provide:%python_provide python3-%{modname}} BuildRequires: git-core BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pytest %description -n python3-%{modname} %_description %prep %autosetup -n Pebble-%{version} -Sgit %build %py3_build %install %py3_install %check PYTHONPATH=%{buildroot}%{python3_sitelib} pytest %files -n python3-%{modname} %doc README.rst %license LICENSE %{python3_sitelib}/pebble/ %{python3_sitelib}/Pebble-*.egg-info/ %changelog * Wed May 13 2020 Martin Liška - 4.5.3-1 - Initial Fedora package