debian/bin/gencontrol_signed.py: Copy maintainer and date into template's changelog
This commit is contained in:
parent
a7e85cb155
commit
e85bd66dc5
|
@ -186,8 +186,8 @@ class Gencontrol(Base):
|
||||||
vars = self.vars.copy()
|
vars = self.vars.copy()
|
||||||
vars['distribution'] = self.changelog[0].distribution
|
vars['distribution'] = self.changelog[0].distribution
|
||||||
vars['urgency'] = self.changelog[0].urgency
|
vars['urgency'] = self.changelog[0].urgency
|
||||||
vars['date'] = time.strftime("%a, %d %b %Y %H:%M:%S +0000",
|
vars['maintainer'] = self.changelog[0].maintainer
|
||||||
time.gmtime())
|
vars['date'] = self.changelog[0].date
|
||||||
vars['signedsourceversion'] = (changelog[0].version.complete + '+' +
|
vars['signedsourceversion'] = (changelog[0].version.complete + '+' +
|
||||||
re.sub(r'-', r'+',
|
re.sub(r'-', r'+',
|
||||||
vars['imagebinaryversion']))
|
vars['imagebinaryversion']))
|
||||||
|
@ -198,7 +198,7 @@ linux-signed-@arch@ (@signedsourceversion@) @distribution@; urgency=@urgency@
|
||||||
|
|
||||||
* Update to linux @imagebinaryversion@
|
* Update to linux @imagebinaryversion@
|
||||||
|
|
||||||
-- Debian signing service <ftpmaster@debian.org> @date@
|
-- @maintainer@ @date@
|
||||||
|
|
||||||
''',
|
''',
|
||||||
vars))
|
vars))
|
||||||
|
|
|
@ -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
|
* 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
|
* debian/lib/python/debian_linux/debian.py: Parse bottom lines of changelog
|
||||||
entries
|
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
|
-- Roger Shimizu <rogershimizu@gmail.com> Fri, 23 Mar 2018 21:10:34 +0900
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue