[Python-checkins] release: the RPM spec file is gone now, so don't update it
benjamin.peterson
python-checkins at python.org
Wed Feb 18 14:59:22 CET 2015
https://hg.python.org/release/rev/b7529318e7cc
changeset: 93:b7529318e7cc
user: Benjamin Peterson <benjamin at python.org>
date: Wed Feb 18 08:59:06 2015 -0500
summary:
the RPM spec file is gone now, so don't update it
files:
release.py | 17 -----------------
1 files changed, 0 insertions(+), 17 deletions(-)
diff --git a/release.py b/release.py
--- a/release.py
+++ b/release.py
@@ -136,23 +136,6 @@
def bump(tag):
print('Bumping version to %s' % tag)
- wanted_file = 'Misc/RPM/python-%s.spec' % tag.basic_version
- print('Updating %s' % wanted_file, end=' ')
- if not os.path.exists(wanted_file):
- specs = os.listdir('Misc/RPM/')
- for file in specs:
- if file.startswith('python-'):
- break
- full_path = os.path.join('Misc/RPM/', file)
- print('\nrenaming %s to %s' % (full_path, wanted_file))
- run_cmd(['hg', 'rename', '--force', full_path, wanted_file])
- print('File was renamed; please commit')
- run_cmd(['hg', 'commit'])
- new = '%define version ' + tag.text + \
- '\n%define libvers ' + tag.basic_version
- constant_replace(wanted_file, new, '#', '')
- print('done')
-
tweak_patchlevel(tag)
print('Updating Lib/idlelib/idlever.py...', end=' ')
--
Repository URL: https://hg.python.org/release
More information about the Python-checkins
mailing list