Set package type, add minimum-stability key.