From: Martin v. Löwis Date: Wed, 23 Mar 2005 22:16:22 +0000 (+0000) Subject: Make SRPMs pyversion 'any'. X-Git-Tag: v2.5a0~1885 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8efd90485c5d560571a71e72046d1b90ef8529a4;p=thirdparty%2FPython%2Fcpython.git Make SRPMs pyversion 'any'. --- diff --git a/Lib/distutils/command/bdist_rpm.py b/Lib/distutils/command/bdist_rpm.py index c7b94e8133ff..7968d14ca702 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)