summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlav Vitters <olav@vitters.nl>2018-02-22 00:07:29 +0100
committerOlav Vitters <olav@vitters.nl>2018-02-22 00:07:29 +0100
commit6be02e25f7297d54880f55b6594dd201ebcbf95e (patch)
treebc0b621e6108e060c0ff3326055e42100e1c25d2
parent00f932b249ad8377eee23808a674ab4f3468f5da (diff)
downloadmgagnome-6be02e25f7297d54880f55b6594dd201ebcbf95e.tar
mgagnome-6be02e25f7297d54880f55b6594dd201ebcbf95e.tar.gz
mgagnome-6be02e25f7297d54880f55b6594dd201ebcbf95e.tar.bz2
mgagnome-6be02e25f7297d54880f55b6594dd201ebcbf95e.tar.xz
mgagnome-6be02e25f7297d54880f55b6594dd201ebcbf95e.zip
show version-release on rebuild
-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):