diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2005-03-23 22:16:22 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2005-03-23 22:16:22 (GMT) |
commit | 8efd90485c5d560571a71e72046d1b90ef8529a4 (patch) | |
tree | 83fac9af97d633e60b7f400959b593bf8c5c562b /Lib/distutils | |
parent | 98da562600def4f3e2054ec52acff32f397aa096 (diff) | |
download | cpython-8efd90485c5d560571a71e72046d1b90ef8529a4.zip cpython-8efd90485c5d560571a71e72046d1b90ef8529a4.tar.gz cpython-8efd90485c5d560571a71e72046d1b90ef8529a4.tar.bz2 |
Make SRPMs pyversion 'any'.
Diffstat (limited to 'Lib/distutils')
-rw-r--r-- | Lib/distutils/command/bdist_rpm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/command/bdist_rpm.py b/Lib/distutils/command/bdist_rpm.py index c7b94e8..7968d14 100644 --- a/Lib/distutils/command/bdist_rpm.py +++ b/Lib/distutils/command/bdist_rpm.py @@ -347,7 +347,7 @@ class bdist_rpm (Command): srpms = glob.glob(os.path.join(rpm_dir['SRPMS'], "*.rpm")) assert len(srpms) == 1, \ "unexpected number of SRPM files found: %s" % srpms - dist_file = ('bdist_rpm', '', + dist_file = ('bdist_rpm', 'any', os.path.join(self.dist_dir, os.path.basename(srpms[0]))) self.distribution.dist_files.append(dist_file) |