diff options
Diffstat (limited to 'setuptools/command/bdist_rpm.py')
| -rwxr-xr-x | setuptools/command/bdist_rpm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/bdist_rpm.py b/setuptools/command/bdist_rpm.py index 9ca75e10..24e851a4 100755 --- a/setuptools/command/bdist_rpm.py +++ b/setuptools/command/bdist_rpm.py @@ -18,7 +18,7 @@ class bdist_rpm(_bdist_rpm): _bdist_rpm.move_file(self, src, dst, level) if dst==self.dist_dir and src.endswith('.rpm'): getattr(self.distribution,'dist_files',[]).append( - ('bdist_egg', + ('bdist_rpm', src.endswith('.src.rpm') and 'any' or get_python_version(), os.path.join(dst, os.path.basename(src))) ) |
