Fix deprecated spec warning + Add support for specifying a specific package version to install.

Fix deprecated spec warning + Add support for specifying a specific package version to install.