%global srcname more-executors %global srcname_py more_executors Summary: A library of composable Python executors and futures Name: python-%{srcname} Version: 1.20.1 Release: 1%{?dist} Source0: %{pypi_source} License: GPLv3+ BuildArch: noarch URL: https://github.com/rohanpm/%{srcname} %{?python_enable_dependency_generator} %description This library is intended for use with the concurrent.futures module. It includes a collection of Executor implementations in order to extend the behavior of Future objects. %package -n python3-%{srcname} Summary: %{summary} BuildRequires: python3-devel %{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{srcname} This library is intended for use with the concurrent.futures module. It includes a collection of Executor implementations in order to extend the behavior of Future objects. %prep %autosetup -n %{srcname}-%{version} %build %py3_build %install %py3_install %files -n python3-%{srcname} %doc README.md %license LICENSE %{python3_sitelib}/%{srcname_py}*.egg-info/ %{python3_sitelib}/%{srcname_py}/ %changelog * Sun Feb 17 2019 Rohan McGovern - 1.20.1-1 - Initial RPM release