Update debian and RPM directories to 0.3.1