Skip to content

ps-gill/rpmtool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rpmtool

A CLI for rpm packages.

Building

Install go, gcc, ld and rpm-devel.

dnf install binutils golang gcc rpm-devel

Build rpmtool exectuable by running go build.

Also, there is a rpm spec available here.

Usage

$ ./rpmtool tools --help
Check if required tools are available

Usage:
  rpmtool tools [flags]

Flags:
      --exclude-signature   exclude signature tools
  -h, --help                help for tools
$ rpmtool build --help
Build package from a .spec file

Usage:
  rpmtool build [spec] [flags]

Flags:
  -h, --help                         help for build
      --key string                   pgp key
      --key-id string                pgp key Id
      --key-passphrase-file string   pgp key passphrase
      --latest-deps                  install latest build dependencies
      --skip-deps                    skip build dependencies installation
      --srpm                         build srpm instead of rpm

Sequoia PGP's sq cli is required for signatures.

License

See LICENSE

About

A CLI for rpm packages.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages