Issue 369: Incorrect source when creating a spec file with setuptools
Status:  New
Owner: ----
Reported by raul.mac...@gmail.com, Jun 10, 2014
What steps will reproduce the problem?

# pip install -d pyodbc
# python2.7 setup.py bdist_rpm --spec-only
#  grep Source0 pyodbc-3.0.7/dist/pyodbc.spec
Source0: pyodbc-%{unmangled_version}.tar.gz


What is the expected output? What do you see instead?

the source must match the original package, in this case pip downloads a zip file but then setuptools looks for a tar.gz. I think setuptools does not support zip files. Perhaps uploading a tar.gz version to pypi would solve the problem

What version of the product are you using? On what operating system?

pyodbc 3.0.7
Centos 6.4

Please provide any additional information below.