[rpm mode] Add 'preinstall' and 'postinstall' sections