Add flexibility to packaging scripts to support packaging automation and better integration with other tools.
- Support building without a release tag (
SERVER-12160) - Pass version to rpmbuild instead of hardcoding in spec files
- Support snapshot and pre-release version numbers (
SERVER-12833) - Support filtering the generated packages instead of building all (e.g. for building only rpms or debs, or only x86_64)