%global srcname fastpurge Summary: A Python client for the Akamai Fast Purge API Name: python-%{srcname} Version: 1.0.2 Release: 1%{?dist} Source0: %{pypi_source} License: GPLv3+ BuildArch: noarch URL: https://github.com/release-engineering/%{name} %description This library provides a simple asynchronous Python wrapper for the Fast Purge API, including authentication and error recovery. %package -n python3-%{srcname} Summary: %{summary} BuildRequires: python3-devel # for Requires we rely on the automatic Python dep generator %{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{srcname} This library provides a simple asynchronous Python wrapper for the Fast Purge API, including authentication and error recovery. %prep %autosetup -n %{srcname}-%{version} %build %py3_build %install %py3_install %files -n python3-%{srcname} %doc README.md %doc CHANGELOG.md %license LICENSE %{python3_sitelib}/%{srcname}*.egg-info/ %{python3_sitelib}/%{srcname}/ %changelog * Sat Mar 30 2019 Rohan McGovern - 1.0.2-1 - Initial RPM release