[packaging] Fix rpm preun/post/postun scripts.

Signed-off-by: Marko Saukko <marko.saukko@jollamobile.com>