aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2007-01-09 22:23:01 +0000
committerPJ Eby <distutils-sig@python.org>2007-01-09 22:23:01 +0000
commit3c7dab35677614a2bedb4c05d52ab59df68c9892 (patch)
tree3ca90a6d0a8e373f3e70ef14a90141643ba57df8
parent8d0f76da12ff66e977847f3bc829b8178c076934 (diff)
downloadexternal_python_setuptools-3c7dab35677614a2bedb4c05d52ab59df68c9892.tar.gz
external_python_setuptools-3c7dab35677614a2bedb4c05d52ab59df68c9892.tar.bz2
external_python_setuptools-3c7dab35677614a2bedb4c05d52ab59df68c9892.zip
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
-rwxr-xr-xsetuptools/command/bdist_rpm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/bdist_rpm.py b/setuptools/command/bdist_rpm.py
index 24e851a4..8c48da35 100755
--- a/setuptools/command/bdist_rpm.py
+++ b/setuptools/command/bdist_rpm.py
@@ -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)))
)