1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2024-10-31 22:05:58 +00:00

Update hscommon/build.py

Update changelog format to use changes from
https://github.com/hsoft/hscommon/pull/6/.  This allows for changes from
 #593 to work correctly.
This commit is contained in:
Andrew Senetar 2019-11-06 20:25:20 -06:00
parent 8506d482af
commit 2ea02bd7b5
Signed by: arsenetar
GPG Key ID: C63300DCE48AB2F1

View File

@ -244,7 +244,7 @@ def build_debian_changelog(changelogpath, destfile, pkgname, from_version=None,
result = desc.split('*') result = desc.split('*')
return [s.strip() for s in result if s.strip()] return [s.strip() for s in result if s.strip()]
ENTRY_MODEL = "{pkg} ({version}~{distribution}) {distribution}; urgency=low\n\n{changes}\n -- Virgil Dupras <hsoft@hardcoded.net> {date}\n\n" ENTRY_MODEL = "{pkg} ({version}-1) {distribution}; urgency=low\n\n{changes}\n -- Virgil Dupras <hsoft@hardcoded.net> {date}\n\n"
CHANGE_MODEL = " * {description}\n" CHANGE_MODEL = " * {description}\n"
changelogs = read_changelog_file(changelogpath) changelogs = read_changelog_file(changelogpath)
if from_version: if from_version: