diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-08-24 17:47:11 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-08-24 17:47:11 +0100 |
commit | 777c66dba36ffe3382492bb2e30543291d1ecef1 (patch) | |
tree | 406840a0720f9b35f027b27f13685db8006a2629 | |
parent | 89ca4214d6598071b2020e8253a1f80996aa3c6c (diff) | |
download | unperish-777c66dba36ffe3382492bb2e30543291d1ecef1.tar.gz |
Do not generate new changelog entries unless necessary.
-rwxr-xr-x | unperish | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -229,11 +229,13 @@ class Unperish(cliapp.Application): '''Build Debian binary packages (.deb) in build area.''' self.run_subcommand('export') + prev_target = None for spec in self.settings['basetgz']: target, arch, path = self.parse_basetgz(spec) - if target: + if target and target != prev_target: self.add_debian_changelog_entry(target, arch) + prev_target = target self.run_subcommand('dsc', force=True) if not self.already_exists(self.join(self.changes(arch))): argv = ['sudo', |