%global modname aioodbc Name: python-%{modname} Version: 0.0.3 Release: 1%{?dist} Summary: Library for accessing a ODBC databases from the asyncio License: ASL 2.0 URL: https://github.com/aio-libs/aioodbc Source0: %{url}/archive/v%{version}/%{modname}-%{version}.tar.gz BuildArch: noarch %description %{summary}. %package -n python3-%{modname} Summary: %{summary} %{?python_provide:%python_provide python3-%{modname}} BuildRequires: python3-devel BuildRequires: python3-setuptools Requires: python3-pyodbc %description -n python3-%{modname} %{summary}. %prep %autosetup -n %{modname}-%{version} %build %py3_build %install %py3_install %files -n python3-%{modname} %license LICENSE %doc CHANGES.txt README.rst %{python3_sitelib}/%{modname}-*.egg-info/ %{python3_sitelib}/%{modname}/ %changelog * Sun Nov 27 2016 Igor Gnatenko - 0.0.3-1 - Initial package