Commit 3c7dab35 authored by PJ Eby's avatar PJ Eby

Fix missing backport of import fix for bdist_rpm building non-source

rpms.

--HG--
branch : setuptools-0.6
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4053325
parent 8d0f76da
......@@ -19,7 +19,7 @@ class bdist_rpm(_bdist_rpm):
if dst==self.dist_dir and src.endswith('.rpm'):
getattr(self.distribution,'dist_files',[]).append(
('bdist_rpm',
src.endswith('.src.rpm') and 'any' or get_python_version(),
src.endswith('.src.rpm') and 'any' or sys.version[:3],
os.path.join(dst, os.path.basename(src)))
)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment