aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/bdist_rpm.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/command/bdist_rpm.py')
-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)))
)