diff --git a/fuel_plugin_builder/templates/v3/build/plugin_rpm.spec.mako b/fuel_plugin_builder/templates/v3/build/plugin_rpm.spec.mako index d55d847..df3abdd 100644 --- a/fuel_plugin_builder/templates/v3/build/plugin_rpm.spec.mako +++ b/fuel_plugin_builder/templates/v3/build/plugin_rpm.spec.mako @@ -50,6 +50,8 @@ ${ postinstall_hook } # uninstall: 0 % if uninstall_hook: if [ $1 -eq 0 ]; then + # insert no-op to allow empty or comment-only uninstall hooks + : ${ uninstall_hook } fi % endif