%global srcname fastpurge Summary: A Python client for the Akamai Fast Purge API Name: python-%{srcname} Version: 1.0.1 Release: 1%{?dist} Source0: %{pypi_source} License: GPLv3+ BuildArch: noarch URL: https://github.com/release-engineering/python-%{srcname} %{?python_enable_dependency_generator} %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 %{?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 %license LICENSE %{python3_sitelib}/%{srcname}*.egg-info/ %{python3_sitelib}/%{srcname}/ %changelog * Wed Feb 20 2019 Rohan McGovern <rohanpm@fedoraproject.org> - 1.0.1-1 - Initial RPM release