%global modname dopy Name: python-dopy Version: 0.2.2 Release: 1%{?dist} Summary: Python client for the Digital Ocean API Group: Development/Libraries License: MIT URL: http://pypi.python.org/pypi/dopy Source0: https://pypi.python.org/packages/source/d/%{modname}/%{modname}-%{version}.tar.gz BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-requests Requires: python-requests %description Digital Ocean API Python Wrapper %prep %setup -q -n %{modname}-%{version} # Remove bundled egg-info in case it exists rm -rf %{modname}.egg-info %build %{__python} setup.py build %install %{__python} setup.py install -O1 --skip-build --root=%{buildroot} %files # No license or readme file provided by upstream # https://github.com/devo-ps/dopy/issues/4 #%%doc README.md LICENSE %{python_sitelib}/%{modname}/ %{python_sitelib}/%{modname}-%{version}* %changelog * Wed Oct 16 2013 Ralph Bean - 0.2.2-1 - initial package for Fedora