Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 703 Bytes

README.md

File metadata and controls

32 lines (23 loc) · 703 Bytes

Vault-RPM

A set of files to build RPM for HashiCorp Vault - a tool for managing secrets https://www.vaultproject.io/

How to build RPM

Let's say you do it under root user

  1. Install prerequisite software

    yum install -y rpm-build rpmdevtools
    
  2. Clone this repository

    git clone https://github.com/timp87/vault-rpm.git
    
  3. Copy build dir into home

    cp -r vault-rpm/rpmbuild ~/
    
  4. 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.