WARNING: Cannot download url: https://github.com/mopidy/pyspotify/archive/pyspotify-2.0.5.tar.gz ERROR: 'mock build failed, see /home/sergio/rpmbuild/2134-pyspotify/results/build.log' Download error on https://pypi.python.org/simple/cffi/: [Errno 104] Connection reset by peer -- Some packages may not be found! Couldn't find index page for u'cffi' (maybe misspelled?) Download error on https://pypi.python.org/simple/: [Errno 104] Connection reset by peer -- Some packages may not be found! No local packages or working download links found for cffi>=1.0.0 Also https://fedoraproject.org/wiki/Packaging:Python , Must: Python modules must not download any dependencies during the build process. So many work to do.