diff --git a/modules/rpm.py b/modules/rpm.py index adbe79695..1fa66608c 100644 --- a/modules/rpm.py +++ b/modules/rpm.py @@ -16,6 +16,7 @@ functionality such as generating RPM spec file.''' import build +import datetime import mlog class RPMModule: @@ -95,6 +96,10 @@ class RPMModule: fn.write('\n') fn.write('%postun -p /sbin/ldconfig\n') fn.write('\n') + fn.write('%changelog\n') + fn.write('* %s meson - \n' % datetime.date.today().strftime('%a %b %d %Y')) + fn.write('- \n') + fn.write('\n') fn.close() def initialize():