diff options
-rwxr-xr-x | mgagnome | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1551,7 +1551,8 @@ def cmd_new_release(options, parser): s = SpecFile(os.path.join(cwd, "SPECS", "%s.spec" % package), module=package) cur_release = s.release new_release = int(cur_release)+1 - print("%s => %s" % (cur_release, new_release)) + cur_version = s.version + print("%s-%s => %s-%s" % (version, cur_release, version, new_release)) # XXX - Duplicate check as should not revert changes if specfile has already been changed if not s.ensure_no_local_changes(options.force): |