summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmgagnome3
1 files changed, 2 insertions, 1 deletions
diff --git a/mgagnome b/mgagnome
index abe23da..f7ad9a6 100755
--- a/mgagnome
+++ b/mgagnome
@@ -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):