debian/bin/gencontrol_signed.py: Copy maintainer and date into template's changelog

This commit is contained in:
Ben Hutchings 2018-04-07 20:34:42 +02:00
parent a7e85cb155
commit e85bd66dc5
2 changed files with 5 additions and 3 deletions

View File

@ -186,8 +186,8 @@ class Gencontrol(Base):
vars = self.vars.copy()
vars['distribution'] = self.changelog[0].distribution
vars['urgency'] = self.changelog[0].urgency
vars['date'] = time.strftime("%a, %d %b %Y %H:%M:%S +0000",
time.gmtime())
vars['maintainer'] = self.changelog[0].maintainer
vars['date'] = self.changelog[0].date
vars['signedsourceversion'] = (changelog[0].version.complete + '+' +
re.sub(r'-', r'+',
vars['imagebinaryversion']))
@ -198,7 +198,7 @@ linux-signed-@arch@ (@signedsourceversion@) @distribution@; urgency=@urgency@
* Update to linux @imagebinaryversion@
-- Debian signing service <ftpmaster@debian.org> @date@
-- @maintainer@ @date@
''',
vars))

2
debian/changelog vendored
View File

@ -54,6 +54,8 @@ linux (4.16-1~exp1) UNRELEASED; urgency=medium
* Use a dummy build profile for udebs that we test-build before signing
* debian/lib/python/debian_linux/debian.py: Parse bottom lines of changelog
entries
* debian/bin/gencontrol_signed.py: Copy maintainer and date into template's
changelog
-- Roger Shimizu <rogershimizu@gmail.com> Fri, 23 Mar 2018 21:10:34 +0900