%global srcname openidc-client %global pkgname openidc_client Name: python-%{srcname} Version: 0.6.0 Release: 1 Summary: Python OpenID Connect client with token caching and management License: MIT Source0: %{name}.tar.gz BuildArch: noarch %description %{summary}. %package -n python3-%{srcname} Summary: %{summary} %{?python_provide:%python_provide python3-%{srcname}} BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-requests Requires: python3-requests %description -n python3-%{srcname} %{summary}. %prep %autosetup -n %{name} %build %py3_build %install %py3_install %check %{__python3} setup.py test %files -n python3-openidc-client %license COPYING %doc README.md %{python3_sitelib}/%{pkgname}-*.egg-info/ %{python3_sitelib}/%{pkgname}/ %changelog * Thu Jun 30 2021 jinzig - 0.6-1 - Initial packaging of python-openidc-client