A set of files to build RPM for HashiCorp Vault - a tool for managing secrets https://www.vaultproject.io/
Let's say you do it under root user
-
Install prerequisite software
yum install -y rpm-build rpmdevtools
-
Clone this repository
git clone https://github.com/timp87/vault-rpm.git
-
Copy build dir into home
cp -r vault-rpm/rpmbuild ~/
-
Download distfile and build RPM
spectool -g -R ~/rpmbuild/SPECS/vault.spec && \ rpmbuild -ba ~/rpmbuild/SPECS/vault.spec
After all you'll find RPM package in ~/rpmbuild/RPMS/x86_64/
Please, note, this was originally made for Centos 7 x86_64.