From 6be02e25f7297d54880f55b6594dd201ebcbf95e Mon Sep 17 00:00:00 2001 From: Olav Vitters Date: Thu, 22 Feb 2018 00:07:29 +0100 Subject: show version-release on rebuild --- mgagnome | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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): -- cgit v1.2.1