[Python-checkins] r53325 - sandbox/branches/setuptools-0.6/setuptools/command/bdist_rpm.py

phillip.eby python-checkins at python.org
Tue Jan 9 23:23:02 CET 2007


Author: phillip.eby
Date: Tue Jan 9 23:23:01 2007
New Revision: 53325
Modified:
 sandbox/branches/setuptools-0.6/setuptools/command/bdist_rpm.py
Log:
Fix missing backport of import fix for bdist_rpm building non-source 
rpms.
Modified: sandbox/branches/setuptools-0.6/setuptools/command/bdist_rpm.py
==============================================================================
--- sandbox/branches/setuptools-0.6/setuptools/command/bdist_rpm.py	(original)
+++ sandbox/branches/setuptools-0.6/setuptools/command/bdist_rpm.py	Tue Jan 9 23:23:01 2007
@@ -19,7 +19,7 @@
 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)))
 )
 


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /