diff options
author | Olav Vitters <olav@vitters.nl> | 2018-02-22 00:07:29 +0100 |
---|---|---|
committer | Olav Vitters <olav@vitters.nl> | 2018-02-22 00:07:29 +0100 |
commit | 6be02e25f7297d54880f55b6594dd201ebcbf95e (patch) | |
tree | bc0b621e6108e060c0ff3326055e42100e1c25d2 | |
parent | 00f932b249ad8377eee23808a674ab4f3468f5da (diff) | |
download | mgagnome-6be02e25f7297d54880f55b6594dd201ebcbf95e.tar mgagnome-6be02e25f7297d54880f55b6594dd201ebcbf95e.tar.gz mgagnome-6be02e25f7297d54880f55b6594dd201ebcbf95e.tar.bz2 mgagnome-6be02e25f7297d54880f55b6594dd201ebcbf95e.tar.xz mgagnome-6be02e25f7297d54880f55b6594dd201ebcbf95e.zip |
show version-release on rebuild
-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): |