Kaydet (Commit) 8efd9048 authored tarafından Martin v. Löwis's avatar Martin v. Löwis

Make SRPMs pyversion 'any'.

üst 98da5626
...@@ -347,7 +347,7 @@ class bdist_rpm (Command): ...@@ -347,7 +347,7 @@ class bdist_rpm (Command):
srpms = glob.glob(os.path.join(rpm_dir['SRPMS'], "*.rpm")) srpms = glob.glob(os.path.join(rpm_dir['SRPMS'], "*.rpm"))
assert len(srpms) == 1, \ assert len(srpms) == 1, \
"unexpected number of SRPM files found: %s" % srpms "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.join(self.dist_dir,
os.path.basename(srpms[0]))) os.path.basename(srpms[0])))
self.distribution.dist_files.append(dist_file) self.distribution.dist_files.append(dist_file)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment