Installation • Command-line completion • Man documentation • Usage • CI Status • Contributing • License
spec-builddep
is a simple utility for installing dependencies for building an RPM package (yum-builddep
drop-in replacement).
To build the spec-builddep
from scratch, make sure you have a working Go 1.22+ workspace (instructions), then:
go install github.com/essentialkaos/spec-builddep@latest
You can download prebuilt binaries for Linux from EK Apps Repository:
bash <(curl -fsSL https://apps.kaos.st/get) spec-builddep
sudo dnf install -y https://pkgs.kaos.st/kaos-repo-latest.el$(grep 'CPE_NAME' /etc/os-release | tr -d '"' | cut -d':' -f5).noarch.rpm
sudo dnf install spec-builddep
You can generate completion for bash
, zsh
or fish
shell.
Bash:
sudo spec-builddep --completion=bash 1> /etc/bash_completion.d/spec-builddep
ZSH:
sudo spec-builddep --completion=zsh 1> /usr/share/zsh/site-functions/spec-builddep
Fish:
sudo spec-builddep --completion=fish 1> /usr/share/fish/vendor_completions.d/spec-builddep.fish
You can generate man page using next command:
spec-builddep --generate-man | sudo gzip > /usr/share/man/man1/spec-builddep.1.gz
Branch | Status |
---|---|
master |
|
develop |
Before contributing to this project please read our Contributing Guidelines.