Fix dep on RPM. Fix Post scripts on Debian.

Debian still doesn't like functions in the postrm/install scripts.

RPM depending on wrong package.