modules/rpm: add changelog

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
pull/52/head
Igor Gnatenko 10 years ago
parent 0a7bc1ffb7
commit be7bea6b08
  1. 5
      modules/rpm.py

@ -16,6 +16,7 @@
functionality such as generating RPM spec file.''' functionality such as generating RPM spec file.'''
import build import build
import datetime
import mlog import mlog
class RPMModule: class RPMModule:
@ -95,6 +96,10 @@ class RPMModule:
fn.write('\n') fn.write('\n')
fn.write('%postun -p /sbin/ldconfig\n') fn.write('%postun -p /sbin/ldconfig\n')
fn.write('\n') fn.write('\n')
fn.write('%changelog\n')
fn.write('* %s meson <meson@example.com> - \n' % datetime.date.today().strftime('%a %b %d %Y'))
fn.write('- \n')
fn.write('\n')
fn.close() fn.close()
def initialize(): def initialize():

Loading…
Cancel
Save